Struct unix_socket::SocketAddr [] [src]

pub struct SocketAddr {
    // some fields omitted
}

An address associated with a Unix socket.

Methods

impl SocketAddr

fn is_unnamed(&self) -> bool

Returns true iff the address is unnamed.

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

Returns the contents of this address if it is a pathname address.

Trait Implementations

impl SocketAddrExt for SocketAddr

fn as_abstract(&self) -> Option<&[u8]>

impl Debug for SocketAddr

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

Derived Implementations

impl Clone for SocketAddr

fn clone(&self) -> SocketAddr

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