pub struct Directive { /* private fields */ }
Available on crate features
env-filter
and std
only.Expand description
A single filtering directive.
Trait Implementationsยง
Sourceยงimpl From<LevelFilter> for Directive
impl From<LevelFilter> for Directive
Sourceยงfn from(level: LevelFilter) -> Self
fn from(level: LevelFilter) -> Self
Converts to this type from the input type.
Sourceยงimpl Ord for Directive
impl Ord for Directive
1.21.0 ยท Sourceยงfn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Sourceยงimpl PartialOrd for Directive
impl PartialOrd for Directive
impl Eq for Directive
impl StructuralPartialEq for Directive
Auto Trait Implementationsยง
impl Freeze for Directive
impl RefUnwindSafe for Directive
impl Send for Directive
impl Sync for Directive
impl Unpin for Directive
impl UnwindSafe for Directive
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