pub struct NoopNotificationService;Expand description
Drops every notification. Used for headless runs and CLI builds.
Trait Implementations§
Source§impl Clone for NoopNotificationService
impl Clone for NoopNotificationService
Source§fn clone(&self) -> NoopNotificationService
fn clone(&self) -> NoopNotificationService
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 NoopNotificationService
Source§impl Debug for NoopNotificationService
impl Debug for NoopNotificationService
Source§impl Default for NoopNotificationService
impl Default for NoopNotificationService
Source§fn default() -> NoopNotificationService
fn default() -> NoopNotificationService
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoopNotificationService
impl RefUnwindSafe for NoopNotificationService
impl Send for NoopNotificationService
impl Sync for NoopNotificationService
impl Unpin for NoopNotificationService
impl UnsafeUnpin for NoopNotificationService
impl UnwindSafe for NoopNotificationService
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