pub struct Handle(pub PrometheusHandle);
Expand description
The default handle for the Prometheus exporter.
Tuple Fields§
§0: PrometheusHandle
Trait Implementations§
Source§impl MakeDefaultHandle for Handle
impl MakeDefaultHandle for Handle
Source§type Out = PrometheusHandle
type Out = PrometheusHandle
The type of the metrics handle to return from
MetricLayerBuilder
.Source§fn make_default_handle(self) -> Self::Out
fn make_default_handle(self) -> Self::Out
The function that defines how to initialize a metric exporter by default. Read more
Auto Trait Implementations§
impl Freeze for Handle
impl RefUnwindSafe for Handle
impl Send for Handle
impl Sync for Handle
impl Unpin for Handle
impl UnwindSafe for Handle
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