Struct dscfg_server::DiscardLogs
source · pub struct DiscardLogs;
Expand description
This struct can be used in place of logger to discard all logs.
Trait Implementations
sourceimpl From<DiscardLogs> for Logger
impl From<DiscardLogs> for Logger
sourcefn from(_: DiscardLogs) -> Self
fn from(_: DiscardLogs) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for DiscardLogs
impl Send for DiscardLogs
impl Sync for DiscardLogs
impl Unpin for DiscardLogs
impl UnwindSafe for DiscardLogs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more