pub trait UnixSocketAddressExtManual: Sealed + IsA<UnixSocketAddress> + 'static {
    // Provided method
    fn path(&self) -> Option<UnixSocketAddressPath<'_>> { ... }
}

Provided 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

Object Safety§

This trait is not object safe.

Implementors§