Trait gio::prelude::UnixSocketAddressExt
source · pub trait UnixSocketAddressExt: IsA<UnixSocketAddress> + Sealed + 'static {
// Provided methods
fn address_type(&self) -> UnixSocketAddressType { ... }
fn is_abstract(&self) -> bool { ... }
fn path_len(&self) -> usize { ... }
fn path_as_array(&self) -> Option<ByteArray> { ... }
}
Available on Unix only.
Expand description
Provided Methods§
sourcefn address_type(&self) -> UnixSocketAddressType
fn address_type(&self) -> UnixSocketAddressType
sourcefn is_abstract(&self) -> bool
fn is_abstract(&self) -> bool
sourcefn path_len(&self) -> usize
fn path_len(&self) -> usize
Gets the length of self
’s path.
For details, see UnixSocketAddressExtManual::path()
.
Returns
the length of the path
fn path_as_array(&self) -> Option<ByteArray>
Object Safety§
This trait is not object safe.