Struct prometheus_client::encoding::LabelEncoder
source · pub struct LabelEncoder<'a>(/* private fields */);
Expand description
Encoder for a label.
Implementations§
source§impl<'a> LabelEncoder<'a>
impl<'a> LabelEncoder<'a>
sourcepub fn encode_label_key(&mut self) -> Result<LabelKeyEncoder<'_>, Error>
pub fn encode_label_key(&mut self) -> Result<LabelKeyEncoder<'_>, Error>
Encode a label.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LabelEncoder<'a>
impl<'a> !Send for LabelEncoder<'a>
impl<'a> !Sync for LabelEncoder<'a>
impl<'a> Unpin for LabelEncoder<'a>
impl<'a> !UnwindSafe for LabelEncoder<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more