Struct open_metrics_client::encoding::text::Encoder[][src]

pub struct Encoder<'a, 'b> { /* fields omitted */ }

Implementations

impl<'a, 'b> Encoder<'a, 'b>[src]

pub fn encode_suffix(
    &mut self,
    suffix: &'static str
) -> Result<BucketEncoder<'_>, Error>
[src]

pub fn no_suffix(&mut self) -> Result<BucketEncoder<'_>, Error>[src]

pub fn with_label_set<'c, 'd>(
    &'c mut self,
    label_set: &'d dyn Encode
) -> Encoder<'c, 'd>
[src]

Auto Trait Implementations

impl<'a, 'b> !RefUnwindSafe for Encoder<'a, 'b>[src]

impl<'a, 'b> !Send for Encoder<'a, 'b>[src]

impl<'a, 'b> !Sync for Encoder<'a, 'b>[src]

impl<'a, 'b> Unpin for Encoder<'a, 'b>[src]

impl<'a, 'b> !UnwindSafe for Encoder<'a, 'b>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.