pub struct McFollowerMetrics { /* private fields */ }
Expand description
Substrate Prometheus metrics client used by Partner Chain data sources
Implementations§
Source§impl McFollowerMetrics
impl McFollowerMetrics
pub fn time_elapsed(&self) -> &HistogramVec
pub fn call_count(&self) -> &CounterVec<U64>
pub fn register(registry: &Registry) -> Result<Self, PrometheusError>
Trait Implementations§
Source§impl Clone for McFollowerMetrics
impl Clone for McFollowerMetrics
Source§fn clone(&self) -> McFollowerMetrics
fn clone(&self) -> McFollowerMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for McFollowerMetrics
impl !RefUnwindSafe for McFollowerMetrics
impl Send for McFollowerMetrics
impl Sync for McFollowerMetrics
impl Unpin for McFollowerMetrics
impl !UnwindSafe for McFollowerMetrics
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