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

§

type Predicate = EquivPredicate<&str>

source§

fn into_predicate(self) -> Self::Predicate

source§

impl IntoFieldPredicate for bool

§

type Predicate = EquivPredicate<bool>

source§

fn into_predicate(self) -> Self::Predicate

source§

impl IntoFieldPredicate for f64

§

type Predicate = EquivPredicate<f64>

source§

fn into_predicate(self) -> Self::Predicate

source§

impl IntoFieldPredicate for i64

§

type Predicate = EquivPredicate<i64>

source§

fn into_predicate(self) -> Self::Predicate

source§

impl IntoFieldPredicate for i128

§

type Predicate = EquivPredicate<i128>

source§

fn into_predicate(self) -> Self::Predicate

source§

impl IntoFieldPredicate for u64

§

type Predicate = EquivPredicate<u64>

source§

fn into_predicate(self) -> Self::Predicate

source§

impl IntoFieldPredicate for u128

§

type Predicate = EquivPredicate<u128>

source§

fn into_predicate(self) -> Self::Predicate

source§

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

§

type Predicate = P

source§

fn into_predicate(self) -> Self::Predicate

Implementors§

source§

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