Trait AsId
trait AsId: crate::sealed::Sealed
Trait implemented by types which have a span Id.
Required Methods
fn as_id(self: &Self) -> Option<&Id>Returns the
Idof the span thatselfcorresponds to, orNoneif this corresponds to a disabled span.