Can specify environment variables in client configuration

This commit is contained in:
2022-04-15 21:58:07 +02:00
parent 937343c5f9
commit 489f938b71
6 changed files with 67 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
use std::path::{Path, PathBuf};
use std::slice::Iter;
use std::slice::{Iter, IterMut};
use crate::utils::err::Res;
@@ -87,6 +87,11 @@ impl<E> EntityManager<E>
self.list.iter()
}
/// Iterate over the entries of this entity manager
pub fn iter_mut(&mut self) -> IterMut<'_, E> {
self.list.iter_mut()
}
/// Get a cloned list of entries
pub fn cloned(&self) -> Vec<E> {
self.list.clone()