pub type ConnInfoAddr<A, RI> = ConnIpAddrInner<SpecifiedAddr<A>, NonZeroU16, RI>;
Expand description
The IP addresses (mapped if dual-stack) and identifiers (ports) of a connected socket.
Aliased Type§
struct ConnInfoAddr<A, RI> {
pub local: (SpecifiedAddr<A>, NonZero<u16>),
pub remote: (SpecifiedAddr<A>, RI),
}
Fields§
§local: (SpecifiedAddr<A>, NonZero<u16>)
The local address, port tuple.
remote: (SpecifiedAddr<A>, RI)
The remote address, port tuple.
Trait Implementations§
Source§impl<LI: Into<NonZeroU16>, RI> From<DualStackConnIpAddr<Ipv6Addr, LI, RI>> for ConnInfoAddr<Ipv6Addr, RI>
impl<LI: Into<NonZeroU16>, RI> From<DualStackConnIpAddr<Ipv6Addr, LI, RI>> for ConnInfoAddr<Ipv6Addr, RI>
Source§fn from(addr: DualStackConnIpAddr<Ipv6Addr, LI, RI>) -> Self
fn from(addr: DualStackConnIpAddr<Ipv6Addr, LI, RI>) -> Self
Converts to this type from the input type.