tracing_capture::predicates

Trait IntoFieldPredicate

Source
pub trait IntoFieldPredicate {
    type Predicate: Predicate<TracedValue>;

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

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

Required Associated Types§

Source

type Predicate: Predicate<TracedValue>

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 IntoFieldPredicate for &str

Source§

type Predicate = EquivPredicate<&str>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl IntoFieldPredicate for bool

Source§

type Predicate = EquivPredicate<bool>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl IntoFieldPredicate for f64

Source§

type Predicate = EquivPredicate<f64>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl IntoFieldPredicate for i64

Source§

type Predicate = EquivPredicate<i64>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl IntoFieldPredicate for i128

Source§

type Predicate = EquivPredicate<i128>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl IntoFieldPredicate for u64

Source§

type Predicate = EquivPredicate<u64>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl IntoFieldPredicate for u128

Source§

type Predicate = EquivPredicate<u128>

Source§

fn into_predicate(self) -> Self::Predicate

Source§

impl<P: Predicate<TracedValue>> IntoFieldPredicate for [P; 1]

Implementors§

Source§

impl<T, P> IntoFieldPredicate for ValuePredicate<T, P>
where T: for<'a> FromTracedValue<'a> + ?Sized, P: Predicate<T>,