pub struct ReloadHandle { /* private fields */ }Expand description
Handle for dynamically reloading the log level filter
Implementations§
Source§impl ReloadHandle
impl ReloadHandle
Sourcepub fn global() -> &'static ReloadHandle
pub fn global() -> &'static ReloadHandle
Get the global reload handle
Sourcepub fn set_handle(&self, handle: Handle<LevelFilter, Registry>)
pub fn set_handle(&self, handle: Handle<LevelFilter, Registry>)
Set the reload handle (called during initialization)
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for ReloadHandle
impl !RefUnwindSafe for ReloadHandle
impl Send for ReloadHandle
impl Sync for ReloadHandle
impl Unpin for ReloadHandle
impl UnwindSafe for ReloadHandle
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