pub trait SocketAddrExt {
// Required method
fn as_abstract(&self) -> Option<&[u8]>;
}Expand description
Linux specific extensions for the SocketAddr type.
Required Methods§
Sourcefn as_abstract(&self) -> Option<&[u8]>
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".