pub struct Emit<E> { /* private fields */ }Expand description
Event emitter - fire-and-forget broadcast to all subscribers.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for Emit<E>
impl<E> !RefUnwindSafe for Emit<E>
impl<E> Send for Emit<E>where
E: Send,
impl<E> Sync for Emit<E>where
E: Send,
impl<E> Unpin for Emit<E>
impl<E> !UnwindSafe for Emit<E>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)