Enum nix::sys::aio::AioCancelStat
source · #[repr(i32)]pub enum AioCancelStat {
AioCanceled = 0,
AioNotCanceled = 1,
AioAllDone = 2,
}
Expand description
Return values for AioCb::cancel
and
aio_cancel_all
Variants§
AioCanceled = 0
All outstanding requests were canceled
AioNotCanceled = 1
Some requests were not canceled. Their status should be checked with
AioCb::error
AioAllDone = 2
All of the requests have already finished
Trait Implementations§
source§impl Clone for AioCancelStat
impl Clone for AioCancelStat
source§fn clone(&self) -> AioCancelStat
fn clone(&self) -> AioCancelStat
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AioCancelStat
impl Debug for AioCancelStat
source§impl Hash for AioCancelStat
impl Hash for AioCancelStat
source§impl PartialEq for AioCancelStat
impl PartialEq for AioCancelStat
impl Copy for AioCancelStat
impl Eq for AioCancelStat
impl StructuralPartialEq for AioCancelStat
Auto Trait Implementations§
impl Freeze for AioCancelStat
impl RefUnwindSafe for AioCancelStat
impl Send for AioCancelStat
impl Sync for AioCancelStat
impl Unpin for AioCancelStat
impl UnwindSafe for AioCancelStat
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)