Trait AsStatusLabel

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

Represents the object that can be seen as a status in metrics system.

Required Methods§

Source

fn as_status_label(&self) -> String

Get status label of this object.

Implementations on Foreign Types§

Source§

impl AsStatusLabel for str

Source§

impl<T, E: AsStatusLabel> AsStatusLabel for Result<T, E>

Implementors§