pub trait UnixSocketAddressExtManual {
    // Required method
    fn path(&self) -> Option<UnixSocketAddressPath<'_>>;
}

Required Methods§

source

fn path(&self) -> Option<UnixSocketAddressPath<'_>>

Gets self’s path, or for abstract sockets the “name”.

Guaranteed to be zero-terminated, but an abstract socket may contain embedded zeros, and thus you should use UnixSocketAddressExt::path_len() to get the true length of this string.

Returns

the path for self

Implementors§