pub struct WaitingEntry {
pub id: PeerId,
pub source: Option<SocketAddr>,
}Expand description
A peer waiting for acceptance.
Fields§
§id: PeerIdThe peer’s id.
source: Option<SocketAddr>The address the handshake came from; None when the caller did not know it.
Trait Implementations§
Source§impl Clone for WaitingEntry
impl Clone for WaitingEntry
impl Copy for WaitingEntry
Source§impl Debug for WaitingEntry
impl Debug for WaitingEntry
impl Eq for WaitingEntry
Source§impl PartialEq for WaitingEntry
impl PartialEq for WaitingEntry
impl StructuralPartialEq for WaitingEntry
Auto Trait Implementations§
impl Freeze for WaitingEntry
impl RefUnwindSafe for WaitingEntry
impl Send for WaitingEntry
impl Sync for WaitingEntry
impl Unpin for WaitingEntry
impl UnsafeUnpin for WaitingEntry
impl UnwindSafe for WaitingEntry
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