ReadFromSockOptValue

Trait ReadFromSockOptValue 

Source
pub trait ReadFromSockOptValue {
    type Result;

    // Required method
    fn read_from_sockopt_value(
        current_task: &CurrentTask,
        buffer: &SockOptValue,
    ) -> Result<Self::Result, Errno>;
}

Required Associated Types§

Required Methods§

Source

fn read_from_sockopt_value( current_task: &CurrentTask, buffer: &SockOptValue, ) -> Result<Self::Result, Errno>

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<T, T64, T32> ReadFromSockOptValue for MappingMultiArchUserRef<T, T64, T32>
where T64: FromBytes + TryInto<T>, T32: FromBytes + TryInto<T>,

Implementors§