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_NOP
No operation
LIO_WRITE
Write data as if by a call to AioCb::write
LIO_READ
Write 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::Result
impl Hash for LioOpcode
fn hash<__H: $crate::hash::Hasher>(&Self, state: &mut __H) -> ()
impl Ord for LioOpcode
fn cmp(&Self, other: &LioOpcode) -> $crate::cmp::Ordering
impl PartialOrd<LioOpcode> for LioOpcode
fn partial_cmp(&Self, other: &LioOpcode) -> $crate::option::Option<$crate::cmp::Ordering>
impl StructuralEq for LioOpcode
impl StructuralPartialEq for LioOpcode
Auto Trait Implementations
impl RefUnwindSafe for LioOpcode
impl UnwindSafe for LioOpcode
Blanket Implementations
impl<T> BorrowMut<T> for T
where
T: ?Sized,
where
T: ?Sized,
fn borrow_mut(&mut Self) -> &mut T