Enum nix::sys::socket::SockAddr [] [src]

pub enum SockAddr {
    Inet(InetAddr),
    Unix(UnixAddr),
    Netlink(NetlinkAddr),
}

Represents a socket address

Variants

Methods

impl SockAddr
[src]

Trait Implementations

impl Copy for SockAddr
[src]

impl PartialEq for SockAddr
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SockAddr
[src]

impl Hash for SockAddr
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Clone for SockAddr
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for SockAddr
[src]

Formats the value using the given formatter.