pub trait Source {
const UNIX_TERMINATED: bool;
const UNIX_ABSTRACT: bool;
// Required method
fn header(domain: Domain, len: Socklen) -> [u8; 2];
}Expand description
Native encoding of the two-byte address header selected by its backend.
Required Associated Constants§
Sourceconst UNIX_TERMINATED: bool
const UNIX_TERMINATED: bool
Whether every pathname must retain a trailing NUL inside the path field.
Sourceconst UNIX_ABSTRACT: bool
const UNIX_ABSTRACT: bool
Whether a leading NUL selects the native abstract namespace.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".