[][src]Trait gio::UnixSocketAddressExt

pub trait UnixSocketAddressExt: 'static {
    fn get_address_type(&self) -> UnixSocketAddressType;
fn get_is_abstract(&self) -> bool;
fn get_path_len(&self) -> usize;
fn get_property_abstract(&self) -> bool; }

Trait containing all UnixSocketAddress methods.

Implementors

UnixSocketAddress

Required methods

fn get_address_type(&self) -> UnixSocketAddressType

Gets self's type.

Returns

a UnixSocketAddressType

fn get_is_abstract(&self) -> bool

Tests if self is abstract.

Deprecated

Use UnixSocketAddressExt::get_address_type

Returns

true if the address is abstract, false otherwise

fn get_path_len(&self) -> usize

Gets the length of self's path.

For details, see UnixSocketAddress::get_path.

Returns

the length of the path

fn get_property_abstract(&self) -> bool

Whether or not this is an abstract address

Deprecated

Use UnixSocketAddress:address-type, which distinguishes between zero-padded and non-zero-padded abstract addresses.

Loading content...

Implementors

impl<O: IsA<UnixSocketAddress>> UnixSocketAddressExt for O[src]

Loading content...