pub struct DiscardLogs;Expand description
This struct can be used in place of logger to discard all logs.
Trait Implementations§
Source§impl From<DiscardLogs> for Logger
impl From<DiscardLogs> for Logger
Source§fn from(_: DiscardLogs) -> Self
fn from(_: DiscardLogs) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DiscardLogs
impl RefUnwindSafe for DiscardLogs
impl Send for DiscardLogs
impl Sync for DiscardLogs
impl Unpin for DiscardLogs
impl UnwindSafe for DiscardLogs
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