ckb_metrics::core

Trait Describer

Source
pub trait Describer {
    // Required method
    fn describe(&self) -> Result<Desc, Error>;
}
Expand description

An interface for describing the immutable meta-data of a Metric.

Required Methods§

Source

fn describe(&self) -> Result<Desc, Error>

describe returns a Desc.

Implementors§