pub struct LevelHandle { /* private fields */ }Expand description
Remote control for a LevelPredicate’s active level. Cloning
shares the same atomic — multiple owners (e.g. one per
administrative connection) all see and mutate the same value.
Implementations§
Source§impl LevelHandle
impl LevelHandle
pub fn set(&self, filter: LevelFilter)
pub fn get(&self) -> LevelFilter
Trait Implementations§
Source§impl Clone for LevelHandle
impl Clone for LevelHandle
Source§fn clone(&self) -> LevelHandle
fn clone(&self) -> LevelHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LevelHandle
impl RefUnwindSafe for LevelHandle
impl Send for LevelHandle
impl Sync for LevelHandle
impl Unpin for LevelHandle
impl UnsafeUnpin for LevelHandle
impl UnwindSafe for LevelHandle
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