pub struct NullEventSink;Expand description
A no-op sink that discards every event. Used when no event bus is configured.
Trait Implementations§
Source§impl Default for NullEventSink
impl Default for NullEventSink
Source§fn default() -> NullEventSink
fn default() -> NullEventSink
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NullEventSink
impl RefUnwindSafe for NullEventSink
impl Send for NullEventSink
impl Sync for NullEventSink
impl Unpin for NullEventSink
impl UnsafeUnpin for NullEventSink
impl UnwindSafe for NullEventSink
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