Struct ckb_network::peer_registry::ConnectionStatus
source · 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§
source§impl Clone for ConnectionStatus
impl Clone for ConnectionStatus
source§fn clone(&self) -> ConnectionStatus
fn clone(&self) -> ConnectionStatus
Returns a copy 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 moresource§impl Debug for ConnectionStatus
impl Debug for ConnectionStatus
impl Copy for ConnectionStatus
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§
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