Struct bantamweight::PeerSharedState
source · [−]pub struct PeerSharedState { /* private fields */ }
Implementations
pub fn get_peers(&self) -> Vec<(&SocketAddr, &Peer)>
pub fn get_peer_count(&self) -> usize
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more