Trait Tracable

Source
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§

Source

fn inc_depth(self) -> Self

Source

fn dec_depth(self) -> Self

Source

fn format(&self) -> String

Source

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.

Implementors§