pub trait Tracable: HasTracableInfo {
// Required methods
fn inc_depth(self) -> Self;
fn dec_depth(self) -> Self;
fn format(&self) -> String;
fn header(&self) -> String;
}
Expand description
Trait to indicate the type has information for tracing.
Required Methods§
fn inc_depth(self) -> Self
fn dec_depth(self) -> Self
fn format(&self) -> String
fn header(&self) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.