Struct tracing_subscriber::filter::combinator::Or [−][src]
pub struct Or<A, B, S> { /* fields omitted */ }Expand description
Combines two Filters so that spans and events are enabled if either filter
returns true.
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, B, S> RefUnwindSafe for Or<A, B, S> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B, S> UnwindSafe for Or<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
