Enum hyper::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 String for IpAddr

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

impl FromStr for IpAddr

fn from_str(s: &str) -> Option<IpAddr>

Derived Implementations

impl Show for IpAddr

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

impl<__S: Hasher + Writer> Hash<__S> for IpAddr

fn hash(&self, __arg_0: &mut __S)

impl Clone for IpAddr

fn clone(&self) -> IpAddr

fn clone_from(&mut self, &IpAddr)

impl Eq for IpAddr

fn assert_receiver_is_total_eq(&self)

impl PartialEq<IpAddr> for IpAddr

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

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

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

impl Copy for IpAddr