Struct unix_socket::SocketAddr
[−]
[src]
pub struct SocketAddr { /* fields omitted */ }An address associated with a Unix socket.
Methods
impl SocketAddr[src]
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[src]
fn as_abstract(&self) -> Option<&[u8]>
Returns the contents of this address (without the leading null byte) if it is an abstract address. Read more
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