pub fn connections(&self) -> (u8, u8) {
        match self.connection_status {
            Connected { n_in, n_out } => (n_in, n_out),
            _ => (0, 0),
        }
    }
/// Returns the number of connections with this peer.
Returns the number of connections with this peer.
Returns the number of connections with this peer .
pub fn connections(&self) -> (u8, u8) {
        match self.connection_status {
            Connected { n_in, n_out } => (n_in, n_out),
            _ => (0, 0),
        }
    }
pub fn connections ( & self ) -> ( u8 , u8 ) { match self . connection_status { Connected { n_in , n_out } => ( n_in , n_out ) , _ => ( 0 , 0 ) , } }
Returns the number of connections with this peer.
Returns the number of connections with this peer .
&self