pub struct Info<S>(/* private fields */);Expand description
Open Metrics Info metric “to expose textual information which SHOULD NOT
change during process lifetime”.
let _info = Info::new(vec![("os", "GNU/linux")]);Implementations§
Trait Implementations§
Source§impl<S> EncodeMetric for Info<S>
impl<S> EncodeMetric for Info<S>
Source§impl<S> TypedMetric for Info<S>
impl<S> TypedMetric for Info<S>
const TYPE: MetricType = MetricType::Info
Auto Trait Implementations§
impl<S> Freeze for Info<S>where
S: Freeze,
impl<S> RefUnwindSafe for Info<S>where
S: RefUnwindSafe,
impl<S> Send for Info<S>where
S: Send,
impl<S> Sync for Info<S>where
S: Sync,
impl<S> Unpin for Info<S>where
S: Unpin,
impl<S> UnwindSafe for Info<S>where
S: UnwindSafe,
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