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.
🛈 Note: This is pre-release documentation
for the upcoming tracing
0.2.0 ecosystem.
For the release documentation, please see docs.rs, instead.
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.