Trait linux_unsafe::args::AsRawV
source · pub trait AsRawV: Copy {
// Required methods
fn from_raw_result(raw: V) -> Self;
fn to_raw_arg(self) -> V;
// Provided method
fn raw_is_void(self) -> bool { ... }
}
Expand description
Trait implemented by types that can be used as raw system call arguments.
Required Methods§
fn from_raw_result(raw: V) -> Self
fn to_raw_arg(self) -> V
Provided Methods§
sourcefn raw_is_void(self) -> bool
fn raw_is_void(self) -> bool
Determines whether this value should represent the absense of a
value when used in a context where that makes sense, such as
in the final argument of either crate::ioctl
or crate::fcntl
when the operation does not use the final argument.
Object Safety§
This trait is not object safe.