pub struct Handle { /* private fields */ }
Expand description
A handle to the active logger.
Implementations
sourceimpl Handle
impl Handle
sourcepub fn set_config(&self, config: Config)
pub fn set_config(&self, config: Config)
Sets the logging configuration.
Auto Trait Implementations
impl !RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl !UnwindSafe for Handle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more