Skip to main content

SocketAddrExt

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.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§