pub struct NoopHandler;Expand description
An EventHandler that discards events — pairs NoopPublisher with itself
for a producer with nothing listening.
Trait Implementations§
Source§impl<E> EventHandler<E> for NoopHandler
impl<E> EventHandler<E> for NoopHandler
Auto Trait Implementations§
impl Freeze for NoopHandler
impl RefUnwindSafe for NoopHandler
impl Send for NoopHandler
impl Sync for NoopHandler
impl Unpin for NoopHandler
impl UnsafeUnpin for NoopHandler
impl UnwindSafe for NoopHandler
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