pub struct TcpInfo {
pub address: SocketAddr,
}
Expand description
TcpInfo is an information object associated with a given TcpServer connection. This is passed to the server request handler to allow ACLs and connection tracking
Fields§
§address: SocketAddr
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TcpInfo
impl RefUnwindSafe for TcpInfo
impl Send for TcpInfo
impl Sync for TcpInfo
impl Unpin for TcpInfo
impl UnwindSafe for TcpInfo
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