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