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