tracing_capture::predicates

Trait IntoLevelPredicate

Source
pub trait IntoLevelPredicate {
    type Predicate: Predicate<Level>;

    // Required method
    fn into_predicate(self) -> Self::Predicate;
}
Expand description

Conversion into a predicate for [Level]s used in the level() function.

Required Associated Types§

Source

type Predicate: Predicate<Level>

Predicate output of the conversion. The exact type should be considered an implementation detail and should not be relied upon.

Required Methods§

Source

fn into_predicate(self) -> Self::Predicate

Performs the conversion.

Implementations on Foreign Types§

Source§

impl IntoLevelPredicate for Level

Source§

type Predicate = EqPredicate<Level>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl IntoLevelPredicate for LevelFilter

Source§

type Predicate = OrdPredicate<Level>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl<P: Predicate<Level>> IntoLevelPredicate for [P; 1]

Implementors§