pub trait Source: Socket {
const KEEP_IDLE: Name;
// Provided methods
fn option(kind: Kind) -> (Level, Name) { ... }
fn set(fd: BorrowedFd<'_>, kind: Kind, value: &Value) -> Result<(), Errno> { ... }
}Expand description
Native ABI selection for the same validated scalar options.
Required Associated Constants§
Provided Methods§
fn option(kind: Kind) -> (Level, Name)
fn set(fd: BorrowedFd<'_>, kind: Kind, value: &Value) -> Result<(), Errno>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".