pub trait AsTrace: Sealed {
type Trace;
// Required method
fn as_trace(&self) -> Self::Trace;
}Expand description
Trait implemented for log types that can be converted to a tracing
equivalent.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".