pub struct TcpInfo {
pub port: u16,
}
Expand description
Information about the Tcp endpoint
Fields§
§port: u16
A text string that represents the decimal value of the TCP port that is used to connect to the requested server instance. TCP_PORT SHOULD be a valid TCP port as specified in [RFC793]
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