Enum nix::sys::socket::IpAddr [−][src]
Variants
Tuple Fields of V4
0: Ipv4Addr
Tuple Fields of V6
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