Trait gio::prelude::UnixSocketAddressExtManual [−][src]
pub trait UnixSocketAddressExtManual { fn path(&self) -> Option<UnixSocketAddressPath<'_>>; }
Required methods
fn path(&self) -> Option<UnixSocketAddressPath<'_>>
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