Enum mio_aio::LioOpcode [−][src]
#[repr(i32)] pub enum LioOpcode { LIO_NOP, LIO_WRITE, LIO_READ, }
Expand description
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
Trait Implementations
impl Ord for LioOpcode
[src]
impl Ord for LioOpcode
[src]impl PartialOrd<LioOpcode> for LioOpcode
[src]
impl PartialOrd<LioOpcode> for LioOpcode
[src]pub fn partial_cmp(&self, other: &LioOpcode) -> Option<Ordering>
[src]
pub fn partial_cmp(&self, other: &LioOpcode) -> Option<Ordering>
[src]This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for LioOpcode
[src]
impl Eq for LioOpcode
[src]
impl StructuralEq for LioOpcode
[src]
impl StructuralPartialEq for LioOpcode
[src]
Auto Trait Implementations
impl RefUnwindSafe for LioOpcode
impl Send for LioOpcode
impl Sync for LioOpcode
impl Unpin for LioOpcode
impl UnwindSafe for LioOpcode
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more