pub struct P2PMetrics {
pub unique_peers: Counter,
pub blocks_requested: Gauge,
}
Fields§
§unique_peers: Counter
§blocks_requested: Gauge
Auto Trait Implementations§
impl Freeze for P2PMetrics
impl RefUnwindSafe for P2PMetrics
impl Send for P2PMetrics
impl Sync for P2PMetrics
impl Unpin for P2PMetrics
impl UnwindSafe for P2PMetrics
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