Struct unix_socket::SocketAddr [] [src]

pub struct SocketAddr {
    // some fields omitted
}

An address associated with a Unix socket.

Methods

impl SocketAddr

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

fn clone(&self) -> SocketAddr

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

impl Debug for SocketAddr

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