Struct prometheus_client::encoding::LabelSetEncoder
source · pub struct LabelSetEncoder<'a>(/* private fields */);
Expand description
Encoder for a label set.
Implementations§
source§impl<'a> LabelSetEncoder<'a>
impl<'a> LabelSetEncoder<'a>
sourcepub fn encode_label(&mut self) -> LabelEncoder<'_>
pub fn encode_label(&mut self) -> LabelEncoder<'_>
Encode the given label.
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for LabelSetEncoder<'a>
impl<'a> !Send for LabelSetEncoder<'a>
impl<'a> !Sync for LabelSetEncoder<'a>
impl<'a> Unpin for LabelSetEncoder<'a>
impl<'a> !UnwindSafe for LabelSetEncoder<'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