Enum 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
V4(Ipv4Addr)
V6(Ipv6Addr)
Trait Implementations
impl FromStr for IpAddr
[src]
type Err = AddrParseError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<IpAddr, AddrParseError>
Parses a string s
to return a value of this type. Read more