Trait gio::prelude::UnixSocketAddressExt[][src]

pub trait UnixSocketAddressExt: 'static {
    fn address_type(&self) -> UnixSocketAddressType;
fn is_abstract(&self) -> bool;
fn path_len(&self) -> usize;
fn path_as_array(&self) -> Option<ByteArray>; }
Expand description

Trait containing all UnixSocketAddress methods.

Implementors

UnixSocketAddress

Required methods

Gets self’s type.

Returns

a UnixSocketAddressType

Tests if self is abstract.

Deprecated

Use address_type()

Returns

true if the address is abstract, false otherwise

Gets the length of self’s path.

For details, see UnixSocketAddressExtManual::path().

Returns

the length of the path

Implementors