Struct std::rt::io::net::ip::SocketAddr

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

Trait Implementations

impl Eq for SocketAddr

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

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

impl TotalEq for SocketAddr

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

impl Clone for SocketAddr

fn clone(&self) -> SocketAddr

Returns a copy of the value. The contents of owned pointers are copied to maintain uniqueness, while the contents of managed pointers are not copied.

impl ToStr for SocketAddr

fn to_str(&self) -> ~str

Converts the value of self to an owned string

impl FromStr for SocketAddr

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

Parses a string s to return an optional value of this type. If the string is ill-formatted, the None is returned.