pub struct TcpPeers {
pub peers: HashMap<NodeId, TcpPeerState>,
}Expand description
Bus event, latest peer TCP connection states.
Fields§
§peers: HashMap<NodeId, TcpPeerState>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcpPeers
impl !RefUnwindSafe for TcpPeers
impl Send for TcpPeers
impl Sync for TcpPeers
impl Unpin for TcpPeers
impl !UnwindSafe for TcpPeers
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