pub(crate) struct Registry<S> {
storage: S,
}Expand description
Manages and distributes event notifications to any registered listeners.
Generic over the underlying storage to allow for domain specific
optimizations (e.g. eventIds may or may not be contiguous).
Fields§
§storage: SImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Registry<S>where
S: Freeze,
impl<S> RefUnwindSafe for Registry<S>where
S: RefUnwindSafe,
impl<S> Send for Registry<S>where
S: Send,
impl<S> Sync for Registry<S>where
S: Sync,
impl<S> Unpin for Registry<S>where
S: Unpin,
impl<S> UnsafeUnpin for Registry<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Registry<S>where
S: UnwindSafe,
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