Enum std::old_io::net::ip::IpAddrUnstable [-] [+] [src]

pub enum IpAddr {
    Ipv4Addr(u8, u8, u8, u8),
    Ipv6Addr(u16, u16, u16, u16, u16, u16, u16, u16),
}

Variants

Ipv4Addr
Ipv6Addr

Trait Implementations

impl Display for IpAddr

fn fmt(&self, fmt: &mut Formatter) -> Result

impl FromStr for IpAddr

type Err = ParseError

fn from_str(s: &str) -> Result<IpAddr, ParseError>

Derived Implementations

impl Debug for IpAddr

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for IpAddr

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for IpAddr

fn clone(&self) -> IpAddr

fn clone_from(&mut self, source: &Self)

impl Eq for IpAddr

impl PartialEq for IpAddr

fn eq(&self, __arg_0: &IpAddr) -> bool

fn ne(&self, __arg_0: &IpAddr) -> bool

impl Copy for IpAddr