pub struct PeerAddr(pub SocketAddr);Expand description
The peer address of the connection a request arrived on.
HyperConnection inserts it into each request’s extensions.
Tuple Fields§
§0: SocketAddrTrait Implementations§
Auto Trait Implementations§
impl Forget for PeerAddr
impl Freeze for PeerAddr
impl Move for PeerAddr
impl RefUnwindSafe for PeerAddr
impl Send for PeerAddr
impl Sync for PeerAddr
impl Unpin for PeerAddr
impl UnsafeUnpin for PeerAddr
impl UnwindSafe for PeerAddr
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