Trait prometheus_client::encoding::EncodeLabel
source · pub trait EncodeLabel {
// Required method
fn encode(&self, encoder: LabelEncoder<'_>) -> Result<(), Error>;
}
Expand description
An encodable label.
pub trait EncodeLabel {
// Required method
fn encode(&self, encoder: LabelEncoder<'_>) -> Result<(), Error>;
}
An encodable label.