Struct fuel_core_metrics::p2p_metrics::P2PMetrics
source · pub struct P2PMetrics {
pub gossip_sub_registry: OnceBox<Registry>,
pub peer_metrics: Registry,
pub unique_peers: Counter,
}
Fields§
§gossip_sub_registry: OnceBox<Registry>
§peer_metrics: Registry
§unique_peers: Counter
Auto Trait Implementations§
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