Enum tmp_mio::IpAddr [] [src]

pub enum IpAddr {
    V4(Ipv4Addr),
    V6(Ipv6Addr),
}

An IP address, either a IPv4 or IPv6 address.

Once std::net::IpAddr is stable, this will go away.

Variants

Trait Implementations

impl FromStr for IpAddr
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more