Returns true
if this Subscriber
is the same type as T
.
Returns some reference to this Subscriber
value if it is of type T
,\nor None
if it isn’t.
Subscriber
. Read moreSubscriber::register_callsite
. Read moretrue
if this layer is interested in a span or event with the\ngiven metadata
in the current Context
, similarly to\nSubscriber::enabled
. Read moreAttributes
and Id
.Id
recorded the given\nvalues
.span
recorded that it\nfollows from the span with the ID follows
.on_event
, to determine if on_event
should be called.Layer
, returning a Layered
\nstruct implementing Layer
. Read moreLayer
with the given Subscriber
, returning a\nLayered
struct that implements Subscriber
. Read moreSubscriber
will\nenable, or None
, if the subscriber does not implement level-based\nfiltering or chooses not to implement this method. Read moreSubscriber::try_close
instead