pub trait AsId: Sealed { // Required method fn as_id(&self) -> Option<&Id>; }
Trait implemented by types which have a span Id.
Id
Returns the Id of the span that self corresponds to, or None if this corresponds to a disabled span.
self
None