Struct prometheus_client::encoding::LabelKeyEncoder
source · pub struct LabelKeyEncoder<'a>(_);
Expand description
Encoder for a label key.
Implementations§
source§impl<'a> LabelKeyEncoder<'a>
impl<'a> LabelKeyEncoder<'a>
sourcepub fn encode_label_value(self) -> Result<LabelValueEncoder<'a>, Error>
pub fn encode_label_value(self) -> Result<LabelValueEncoder<'a>, Error>
Encode a label value.
Trait Implementations§
source§impl<'a> Debug for LabelKeyEncoder<'a>
impl<'a> Debug for LabelKeyEncoder<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LabelKeyEncoder<'a>
impl<'a> !Send for LabelKeyEncoder<'a>
impl<'a> !Sync for LabelKeyEncoder<'a>
impl<'a> Unpin for LabelKeyEncoder<'a>
impl<'a> !UnwindSafe for LabelKeyEncoder<'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