Struct await_tree::Registry
source · pub struct Registry<K> { /* private fields */ }
Expand description
The registry of multiple await-trees.
Implementations§
source§impl<K> Registry<K>where
K: Hash + Eq + Debug,
impl<K> Registry<K>where K: Hash + Eq + Debug,
sourcepub fn iter(&self) -> impl Iterator<Item = (&K, Tree)>
pub fn iter(&self) -> impl Iterator<Item = (&K, Tree)>
Iterate over the clones of all registered await-trees.
Trait Implementations§
Auto Trait Implementations§
impl<K> !RefUnwindSafe for Registry<K>
impl<K> Send for Registry<K>where K: Send,
impl<K> Sync for Registry<K>where K: Sync,
impl<K> Unpin for Registry<K>
impl<K> !UnwindSafe for Registry<K>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more