Struct unix_socket::SocketAddr [] [src]

pub struct SocketAddr {
    // some fields omitted
}

An address associated with a Unix socket.

Methods

impl SocketAddr
[src]

fn kind(&self) -> AddressKind

Returns the kind of the address.

fn address(&self) -> Option<&Path>

Returns the value of the address.

Unnamed addresses do not have a value.

Trait Implementations

impl Clone for SocketAddr
[src]

fn clone(&self) -> SocketAddr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for SocketAddr
[src]

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

Formats the value using the given formatter.