Struct ckb_network::peer_registry::ConnectionStatus [−][src]
pub struct ConnectionStatus {
pub total: u32,
pub non_whitelist_inbound: u32,
pub non_whitelist_outbound: u32,
pub max_inbound: u32,
pub max_outbound: u32,
}Expand description
Global network connection status
Fields
total: u32Total session number
non_whitelist_inbound: u32Not whitelist inbound number
non_whitelist_outbound: u32Not whitelist outbound number
max_inbound: u32Maximum number of inbound session
max_outbound: u32Maximum number of outbound session
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConnectionStatus
impl Send for ConnectionStatus
impl Sync for ConnectionStatus
impl Unpin for ConnectionStatus
impl UnwindSafe for ConnectionStatus
Blanket Implementations
Mutably borrows from an owned value. Read more