[go: up one dir, main page]

Enum unix_socket::AddressKind [] [src]

pub enum AddressKind<'a> {
    Unnamed,
    Pathname(&'a Path),
    Abstract(&'a [u8]),
}

The kind of an address associated with a Unix socket.

Variants

Unnamed

An unnamed address.

Pathname(&'a Path)

An address corresponding to a path on the filesystem.

Abstract(&'a [u8])

An address in an abstract namespace unrelated to the filesystem.

Abstract addresses are a nonportable Linux extension.

Trait Implementations

impl<'a> Copy for AddressKind<'a>
[src]

impl<'a> Clone for AddressKind<'a>
[src]

fn clone(&self) -> AddressKind<'a>

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<'a> Debug for AddressKind<'a>
[src]

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

Formats the value using the given formatter.