unix_socket::os::linux

Trait SocketAddrExt

Source
pub trait SocketAddrExt {
    // Required method
    fn as_abstract(&self) -> Option<&[u8]>;
}
Expand description

Linux specific extensions for the SocketAddr type.

Required Methods§

Source

fn as_abstract(&self) -> Option<&[u8]>

Returns the contents of this address (without the leading null byte) if it is an abstract address.

Implementors§