pub struct NoOpObserver;Expand description
A no-op observer that discards all events.
Trait Implementations§
Source§impl AnyConnectionObserver for NoOpObserver
impl AnyConnectionObserver for NoOpObserver
Source§fn on_event(&self, _event: &AnyClientEvent)
fn on_event(&self, _event: &AnyClientEvent)
Called when a connection event occurs on any draft.
Auto Trait Implementations§
impl Freeze for NoOpObserver
impl RefUnwindSafe for NoOpObserver
impl Send for NoOpObserver
impl Sync for NoOpObserver
impl Unpin for NoOpObserver
impl UnsafeUnpin for NoOpObserver
impl UnwindSafe for NoOpObserver
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