Enum nix::sys::socket::IpAddr [−][src]
Variants
V4(Ipv4Addr)
Tuple Fields
0: Ipv4Addr
V6(Ipv6Addr)
Tuple Fields
0: Ipv6Addr
Implementations
Create a new IpAddr that contains an IPv4 address.
The result will represent the IP address a.b.c.d
Create a new IpAddr that contains an IPv6 address.
The result will represent the IP address a:b:c:d:e:f
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for IpAddr
impl UnwindSafe for IpAddr
Blanket Implementations
Mutably borrows from an owned value. Read more