Struct open_metrics_client::encoding::text::Encoder [−][src]
Implementations
impl<'a, 'b> Encoder<'a, 'b>
[src]
pub fn encode_suffix(
&mut self,
suffix: &'static str
) -> Result<BucketEncoder<'_>, Error>
[src]
&mut self,
suffix: &'static str
) -> Result<BucketEncoder<'_>, Error>
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]
&'c mut self,
label_set: &'d dyn Encode
) -> Encoder<'c, 'd>
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,