pub struct ThresholdFilter { /* private fields */ }
Expand description
A filter that rejects all events at a level below a provided threshold.
Implementations
sourceimpl ThresholdFilter
impl ThresholdFilter
sourcepub fn new(level: LevelFilter) -> ThresholdFilter
pub fn new(level: LevelFilter) -> ThresholdFilter
Creates a new ThresholdFilter
with the specified threshold.
Trait Implementations
sourceimpl Debug for ThresholdFilter
impl Debug for ThresholdFilter
Auto Trait Implementations
impl RefUnwindSafe for ThresholdFilter
impl Send for ThresholdFilter
impl Sync for ThresholdFilter
impl Unpin for ThresholdFilter
impl UnwindSafe for ThresholdFilter
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