pub struct NullEventSink;Expand description
An EventSink that discards every event.
Trait Implementations§
Source§impl Clone for NullEventSink
impl Clone for NullEventSink
Source§fn clone(&self) -> NullEventSink
fn clone(&self) -> NullEventSink
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NullEventSink
Source§impl Debug for NullEventSink
impl Debug for NullEventSink
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
Source§impl EventSink for NullEventSink
impl EventSink for NullEventSink
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