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 Display for IpAddr

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

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<(), Error>

impl<__S> Hash<__S> for IpAddr where __S: Hasher, __S: Writer

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