pub enum DisplayLevelFilter {
Off,
All,
Level(Level),
Event,
}
Variants§
Implementations§
source§impl DisplayLevelFilter
impl DisplayLevelFilter
pub const ERROR: DisplayLevelFilter = _
pub const WARN: DisplayLevelFilter = _
pub const INFO: DisplayLevelFilter = _
pub const DEBUG: DisplayLevelFilter = _
pub const TRACE: DisplayLevelFilter = _
pub fn is_enabled(&self, event: &Event<'_>, span_level: &Level) -> bool
Trait Implementations§
source§impl Clone for DisplayLevelFilter
impl Clone for DisplayLevelFilter
source§fn clone(&self) -> DisplayLevelFilter
fn clone(&self) -> DisplayLevelFilter
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 moreimpl Copy for DisplayLevelFilter
Auto Trait Implementations§
impl RefUnwindSafe for DisplayLevelFilter
impl Send for DisplayLevelFilter
impl Sync for DisplayLevelFilter
impl Unpin for DisplayLevelFilter
impl UnwindSafe for DisplayLevelFilter
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