pub struct MetricsLogger<F> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<F> Recorder for MetricsLogger<F>
impl<F> Recorder for MetricsLogger<F>
Source§fn describe_counter(
&self,
_name: KeyName,
_unit: Option<Unit>,
_description: SharedString,
)
fn describe_counter( &self, _name: KeyName, _unit: Option<Unit>, _description: SharedString, )
Describes a counter. Read more
Source§fn describe_gauge(
&self,
_name: KeyName,
_unit: Option<Unit>,
_description: SharedString,
)
fn describe_gauge( &self, _name: KeyName, _unit: Option<Unit>, _description: SharedString, )
Describes a gauge. Read more
Source§fn describe_histogram(
&self,
_name: KeyName,
_unit: Option<Unit>,
_description: SharedString,
)
fn describe_histogram( &self, _name: KeyName, _unit: Option<Unit>, _description: SharedString, )
Describes a histogram. Read more
Auto Trait Implementations§
impl<F> Freeze for MetricsLogger<F>where
F: Freeze,
impl<F> RefUnwindSafe for MetricsLogger<F>where
F: RefUnwindSafe,
impl<F> Send for MetricsLogger<F>where
F: Send,
impl<F> Sync for MetricsLogger<F>where
F: Sync,
impl<F> Unpin for MetricsLogger<F>where
F: Unpin,
impl<F> UnwindSafe for MetricsLogger<F>where
F: 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