Struct hyper::SocketAddrUnstable [-]  [+] [src]

pub struct SocketAddr {
    pub ip: IpAddr,
    pub port: u16,
}

Fields

ip
port

Trait Implementations

impl String for SocketAddr

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

impl FromStr for SocketAddr

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

impl ToSocketAddr for SocketAddr

fn to_socket_addr(&self) -> Result<SocketAddr, IoError>

fn to_socket_addr(&self) -> Result<SocketAddr, IoError>

fn to_socket_addr_all(&self) -> Result<Vec<SocketAddr>, IoError>

Derived Implementations

impl Show for SocketAddr

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

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

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

impl Clone for SocketAddr

fn clone(&self) -> SocketAddr

fn clone_from(&mut self, &SocketAddr)

impl Eq for SocketAddr

fn assert_receiver_is_total_eq(&self)

impl PartialEq<SocketAddr> for SocketAddr

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

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

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

impl Copy for SocketAddr