pub trait Source: Socket {
const KEEP_IDLE: c_int;
// Provided methods
fn option(kind: Kind) -> (c_int, c_int) { ... }
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) -> (c_int, c_int)
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".