Struct tracing_core::metadata::Level  
source · [−]pub struct Level(_);Expand description
Describes the level of verbosity of a span or event.
Implementations
Trait Implementations
sourceimpl From<Level> for LevelFilter
 
impl From<Level> for LevelFilter
sourceimpl FromStr for Level
 
impl FromStr for Level
type Err = ParseLevelError
type Err = ParseLevelError
The associated error which can be returned from parsing.
sourceimpl Ord for Level
 
impl Ord for Level
1.21.0 · sourcefn max(self, other: Self) -> Self
 
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
 
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
    Self: PartialOrd<Self>, 
 
fn clamp(self, min: Self, max: Self) -> Self where
    Self: PartialOrd<Self>, 
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<Level> for Level
 
impl PartialEq<Level> for Level
sourceimpl PartialEq<Level> for LevelFilter
 
impl PartialEq<Level> for LevelFilter
sourceimpl PartialEq<LevelFilter> for Level
 
impl PartialEq<LevelFilter> for Level
sourcefn eq(&self, other: &LevelFilter) -> bool
 
fn eq(&self, other: &LevelFilter) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourceimpl PartialOrd<Level> for Level
 
impl PartialOrd<Level> for Level
sourcefn partial_cmp(&self, other: &Level) -> Option<Ordering>
 
fn partial_cmp(&self, other: &Level) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
sourcefn lt(&self, other: &Level) -> bool
 
fn lt(&self, other: &Level) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
sourcefn le(&self, other: &Level) -> bool
 
fn le(&self, other: &Level) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl PartialOrd<Level> for LevelFilter
 
impl PartialOrd<Level> for LevelFilter
sourcefn partial_cmp(&self, other: &Level) -> Option<Ordering>
 
fn partial_cmp(&self, other: &Level) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
sourcefn lt(&self, other: &Level) -> bool
 
fn lt(&self, other: &Level) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
sourcefn le(&self, other: &Level) -> bool
 
fn le(&self, other: &Level) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl PartialOrd<LevelFilter> for Level
 
impl PartialOrd<LevelFilter> for Level
sourcefn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>
 
fn partial_cmp(&self, other: &LevelFilter) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
sourcefn lt(&self, other: &LevelFilter) -> bool
 
fn lt(&self, other: &LevelFilter) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
sourcefn le(&self, other: &LevelFilter) -> bool
 
fn le(&self, other: &LevelFilter) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourcefn gt(&self, other: &LevelFilter) -> bool
 
fn gt(&self, other: &LevelFilter) -> bool
This method tests greater than (for self and other) and is used by the > operator. Read more
sourcefn ge(&self, other: &LevelFilter) -> bool
 
fn ge(&self, other: &LevelFilter) -> bool
This method tests greater than or equal to (for self and other) and is used by the >=
operator. Read more
impl Copy for Level
impl Eq for Level
impl StructuralEq for Level
impl StructuralPartialEq for Level
Auto Trait Implementations
impl RefUnwindSafe for Level
impl Send for Level
impl Sync for Level
impl Unpin for Level
impl UnwindSafe for Level
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
