Struct smoltcp::wire::IpEndpoint
source · Expand description
An internet endpoint address.
An endpoint can be constructed from a port, in which case the address is unspecified.
Fields§
§addr: Address
§port: u16
Implementations§
Trait Implementations§
source§impl From<SocketAddr> for Endpoint
impl From<SocketAddr> for Endpoint
source§fn from(x: SocketAddr) -> Endpoint
fn from(x: SocketAddr) -> Endpoint
Converts to this type from the input type.
source§impl From<SocketAddrV4> for Endpoint
impl From<SocketAddrV4> for Endpoint
source§fn from(x: SocketAddrV4) -> Endpoint
fn from(x: SocketAddrV4) -> Endpoint
Converts to this type from the input type.
source§impl From<SocketAddrV6> for Endpoint
impl From<SocketAddrV6> for Endpoint
source§fn from(x: SocketAddrV6) -> Endpoint
fn from(x: SocketAddrV6) -> Endpoint
Converts to this type from the input type.
source§impl FromStr for IpEndpoint
impl FromStr for IpEndpoint
source§impl Ord for Endpoint
impl Ord for Endpoint
source§impl PartialOrd<Endpoint> for Endpoint
impl PartialOrd<Endpoint> for Endpoint
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more