Struct tracing_subscriber::filter::combinator::And [−][src]
pub struct And<A, B, S> { /* fields omitted */ }
Expand description
Combines two Filter
s so that spans and events are enabled if and only if
both filters return true
.
This type is typically returned by the FilterExt::and
method. See that
method’s documentation for details.
Trait Implementations
Returns true
if this layer is interested in a span or event with the
given Metadata
in the current Context
, similarly to
Subscriber::enabled
. Read more
Returns an optional hint of the highest verbosity level that
this Filter
will enable. Read more
Auto Trait Implementations
impl<A, B, S> RefUnwindSafe for And<A, B, S> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B, S> UnwindSafe for And<A, B, S> where
A: UnwindSafe,
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more