stratus::infra::tracing

Trait TracingExt

Source
pub trait TracingExt {
    // Required method
    fn or_empty(&self) -> String;
}
Expand description

Extensions for values used as fields in tracing macros.

Required Methods§

Source

fn or_empty(&self) -> String

Returns the Display value of the inner value or an empty string.

Implementations on Foreign Types§

Source§

impl<T> TracingExt for Option<T>
where T: Display + Debug,

Implementors§