pub struct NoopEventBus;Expand description
Noop bus: nothing happens on publish, subscribers receive nothing.
Trait Implementations§
Source§impl Clone for NoopEventBus
impl Clone for NoopEventBus
Source§fn clone(&self) -> NoopEventBus
fn clone(&self) -> NoopEventBus
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 NoopEventBus
Source§impl Debug for NoopEventBus
impl Debug for NoopEventBus
Source§impl Default for NoopEventBus
impl Default for NoopEventBus
Source§fn default() -> NoopEventBus
fn default() -> NoopEventBus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoopEventBus
impl RefUnwindSafe for NoopEventBus
impl Send for NoopEventBus
impl Sync for NoopEventBus
impl Unpin for NoopEventBus
impl UnsafeUnpin for NoopEventBus
impl UnwindSafe for NoopEventBus
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