pub struct Kind(_);
Indicates whether the callsite is a span or event.
Event callsite
Event
Span callsite
Span
enabled! callsite. Subscribers can assume this Kind means they will never recieve a full event with this Metadata.
enabled!
Subscriber
Kind
Metadata
Return true if the callsite kind is Span
Return true if the callsite kind is Event
Return true if the callsite kind is Hint
Hint
Sets that this Kind is a hint.
This can be called on SPAN and EVENT kinds to construct a hint callsite that also counts as a span or event.
SPAN
EVENT
source
self
other
==
!=
TypeId
Returns the argument unchanged.
Calls U::from(self).
U::from(self)
That is, this conversion is whatever the implementation of From<T> for U chooses to do.
From<T> for U