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 Levels 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§

impl IntoLevelPredicate for LevelFilter

source§

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

§

type Predicate = P

source§

fn into_predicate(self) -> Self::Predicate

Implementors§