pub struct Incoming { /* private fields */ }Expand description
An incoming connection attempt.
Implementations§
Source§impl Incoming
impl Incoming
Sourcepub fn remote_address(&self) -> SocketAddr
pub fn remote_address(&self) -> SocketAddr
Returns the peer address that sent the Initial packet.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Incoming
impl !UnwindSafe for Incoming
impl Freeze for Incoming
impl Send for Incoming
impl Sync for Incoming
impl Unpin for Incoming
impl UnsafeUnpin for Incoming
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