Skip to main content

Opt

Trait Opt 

Source
pub unsafe trait Opt: Copy + Default {
    // Provided methods
    fn socklen() -> Result<socklen_t, Error> { ... }
    fn as_mut_ptr(&mut self) -> *mut c_void { ... }
}

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl Opt for c_int

Source§

impl Opt for [u32; 32]

Implementors§