Trait tracing_capture::predicates::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

§

type Predicate = EqPredicate<Level>

source§

fn into_predicate(self) -> Self::Predicate

source§

impl IntoLevelPredicate for LevelFilter

§

type Predicate = OrdPredicate<Level>

source§

fn into_predicate(self) -> Self::Predicate

source§

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

§

type Predicate = P

source§

fn into_predicate(self) -> Self::Predicate

Implementors§