[−][src]Struct tracing_subscriber::filter::LevelFilter
A filter which is enabled for a given verbosity level and below.
Methods
impl LevelFilter
[src]
pub const OFF: LevelFilter
[src]
The "off" level.
Designates that trace instrumentation should be completely disabled.
pub const ERROR: LevelFilter
[src]
The "error" level.
Designates very serious errors.
pub const WARN: LevelFilter
[src]
The "warn" level.
Designates hazardous situations.
pub const INFO: LevelFilter
[src]
The "info" level.
Designates useful information.
pub const DEBUG: LevelFilter
[src]
The "debug" level.
Designates lower priority information.
pub const TRACE: LevelFilter
[src]
The "trace" level.
Designates very low priority, often extremely verbose, information.
Trait Implementations
impl<S: Subscriber> Layer<S> for LevelFilter
[src]
fn register_callsite(&self, metadata: &'static Metadata<'static>) -> Interest
[src]
fn enabled(&self, metadata: &Metadata, _: Context<S>) -> bool
[src]
fn new_span(&self, attrs: &Attributes, id: &Id, ctx: Context<S>)
[src]
fn on_record(&self, _span: &Id, _values: &Record, _ctx: Context<S>)
[src]
fn on_follows_from(&self, _span: &Id, _follows: &Id, _ctx: Context<S>)
[src]
fn on_event(&self, _event: &Event, _ctx: Context<S>)
[src]
fn on_enter(&self, _id: &Id, _ctx: Context<S>)
[src]
fn on_exit(&self, _id: &Id, _ctx: Context<S>)
[src]
fn on_close(&self, _id: Id, _ctx: Context<S>)
[src]
fn on_id_change(&self, _old: &Id, _new: &Id, _ctx: Context<S>)
[src]
fn and_then<L>(self, layer: L) -> Layered<L, Self, S> where
L: Layer<S>,
Self: Sized,
[src]
L: Layer<S>,
Self: Sized,
fn with_subscriber(self, inner: S) -> Layered<Self, S> where
Self: Sized,
[src]
Self: Sized,
impl From<LevelFilter> for Directive
[src]
fn from(level: LevelFilter) -> Self
[src]
impl From<Option<Level>> for LevelFilter
[src]
impl From<Level> for LevelFilter
[src]
impl Into<Option<Level>> for LevelFilter
[src]
impl Clone for LevelFilter
[src]
fn clone(&self) -> LevelFilter
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for LevelFilter
[src]
impl Ord for LevelFilter
[src]
fn cmp(&self, other: &LevelFilter) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<LevelFilter> for LevelFilter
[src]
fn eq(&self, other: &LevelFilter) -> bool
[src]
fn ne(&self, other: &LevelFilter) -> bool
[src]
impl PartialEq<Level> for LevelFilter
[src]
impl PartialOrd<LevelFilter> for LevelFilter
[src]
fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>
[src]
fn lt(&self, other: &LevelFilter) -> bool
[src]
fn le(&self, other: &LevelFilter) -> bool
[src]
fn gt(&self, other: &LevelFilter) -> bool
[src]
fn ge(&self, other: &LevelFilter) -> bool
[src]
impl PartialOrd<Level> for LevelFilter
[src]
fn partial_cmp(&self, other: &Level) -> Option<Ordering>
[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl Debug for LevelFilter
[src]
impl Display for LevelFilter
[src]
impl FromStr for LevelFilter
[src]
type Err = ParseError
The associated error which can be returned from parsing.
fn from_str(from: &str) -> Result<Self, Self::Err>
[src]
impl StructuralPartialEq for LevelFilter
[src]
impl StructuralEq for LevelFilter
[src]
Auto Trait Implementations
impl Send for LevelFilter
impl Sync for LevelFilter
impl Unpin for LevelFilter
impl UnwindSafe for LevelFilter
impl RefUnwindSafe for LevelFilter
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,