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 given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

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. Read more