pub struct TransportMetrics { /* private fields */ }Expand description
Bounded-label invalidation relay counters.
Implementations§
Source§impl TransportMetrics
impl TransportMetrics
Sourcepub fn snapshot(&self) -> TransportMetricsSnapshot
pub fn snapshot(&self) -> TransportMetricsSnapshot
Return a stable snapshot of all counters.
Trait Implementations§
Source§impl Debug for TransportMetrics
impl Debug for TransportMetrics
Source§impl Default for TransportMetrics
impl Default for TransportMetrics
Source§fn default() -> TransportMetrics
fn default() -> TransportMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for TransportMetrics
impl RefUnwindSafe for TransportMetrics
impl Send for TransportMetrics
impl Sync for TransportMetrics
impl Unpin for TransportMetrics
impl UnsafeUnpin for TransportMetrics
impl UnwindSafe for TransportMetrics
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