tracing_capture::predicates

Trait IntoTargetPredicate

Source
pub trait IntoTargetPredicate {
    type Predicate: Predicate<str>;

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

Conversion into a predicate for the target used in the target() function.

Required Associated Types§

Source

type Predicate: Predicate<str>

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<'a> IntoTargetPredicate for &'a str

Source§

type Predicate = TargetStrPredicate<'a>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl<P: Predicate<str>> IntoTargetPredicate for [P; 1]

Implementors§