pub struct NullHandler { /* private fields */ }
Expand description
A null handler that does nothing
Implementations§
Trait Implementations§
Source§impl Clone for NullHandler
impl Clone for NullHandler
Source§fn clone(&self) -> NullHandler
fn clone(&self) -> NullHandler
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NullHandler
impl Debug for NullHandler
Source§impl Handler for NullHandler
impl Handler for NullHandler
Source§fn set_enabled(&mut self, enabled: bool)
fn set_enabled(&mut self, enabled: bool)
Enable or disable the handler
Source§fn set_formatter(&mut self, formatter: Formatter)
fn set_formatter(&mut self, formatter: Formatter)
Set the formatter
Auto Trait Implementations§
impl Freeze for NullHandler
impl !RefUnwindSafe for NullHandler
impl Send for NullHandler
impl Sync for NullHandler
impl Unpin for NullHandler
impl !UnwindSafe for NullHandler
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