Struct inet2_addr::InetSocketAddr [−][src]
Expand description
Internet socket address, which consists of InetAddr
IP or Tor address
and a port number (without protocol specification, i.e. TCP/UDP etc). If you
need to include transport-level protocol information into the socket
details, pls check InetSocketAddrExt
Fields
address: InetAddr
Address part of the socket
port: u16
Port of the socket
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for InetSocketAddr
impl Send for InetSocketAddr
impl Sync for InetSocketAddr
impl Unpin for InetSocketAddr
impl UnwindSafe for InetSocketAddr
Blanket Implementations
Mutably borrows from an owned value. Read more