Struct tracing_subscriber::filter::combinator::Not [−][src]
pub struct Not<A, S> { /* fields omitted */ }
Expand description
Inverts the result of a Filter
.
If the wrapped filter would enable a span or event, it will be disabled. If it would disable a span or event, that span or event will be enabled.
This type is typically returned by the FilterExt::or
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, S> RefUnwindSafe for Not<A, S> where
A: RefUnwindSafe,
impl<A, S> UnwindSafe for Not<A, S> where
A: 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