Trait linux_io::fd::ioctl::FromIoctlResult

source ·
pub trait FromIoctlResult<Raw> {
    // Required method
    fn from_ioctl_result(raw: &Raw) -> Self;
}
Expand description

Trait for types that can be constructed automatically from ioctl results from requests with a given argument type and temporary value type.

Required Methods§

source

fn from_ioctl_result(raw: &Raw) -> Self

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl FromIoctlResult<i32> for int

source§

fn from_ioctl_result(raw: &int) -> Self

Implementors§

source§

impl<Device: IoDevice> FromIoctlResult<i32> for File<Device>