Enum nix::sys::aio::LioOpcode
#[repr(i32)]
#[non_exhaustive]
pub enum LioOpcode {
LIO_NOP,
LIO_WRITE,
LIO_READ,
}Documentation
When used with lio_listio, determines whether a
given aiocb should be used for a read operation, a write operation, or
ignored. Has no effect for any other aio functions.
Variants
LIO_NOPNo operation
LIO_WRITEWrite data as if by a call to AioCb::write
LIO_READWrite data as if by a call to AioCb::read
Trait Implementations
impl Debug for LioOpcode
fn fmt(&Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Resultimpl Hash for LioOpcode
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()impl Ord for LioOpcode
fn cmp(&Self, other: &LioOpcode) -> $crate::cmp::Orderingimpl PartialOrd<LioOpcode> for LioOpcode
fn partial_cmp(&Self, other: &LioOpcode) -> $crate::option::Option<$crate::cmp::Ordering>impl StructuralEq for LioOpcodeimpl StructuralPartialEq for LioOpcodeAuto Trait Implementations
impl RefUnwindSafe for LioOpcodeimpl UnwindSafe for LioOpcodeBlanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T