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.
pub trait AsLog: Sealed {
type Log;
// Required method
fn as_log(&self) -> Self::Log;
}
Trait implemented for tracing
types that can be converted to a log
equivalent.