pub trait SpanGuard {
// Required method
fn end(self);
}Expand description
A guard that ends a span when dropped.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".