pub trait SpanExt{
// Required methods
fn verbose(self) -> Span;
fn long_running(self) -> Span;
}
Expand description
Convert a value into a span and set attributes.
Required Methods§
Sourcefn verbose(self) -> Span
fn verbose(self) -> Span
Convert self
into a span and set the verbose attribute.
See Span::verbose
for more details.
Sourcefn long_running(self) -> Span
fn long_running(self) -> Span
Convert self
into a span and set the long-running attribute.
See Span::long_running
for more details.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.