pub enum OperationState {
Idle,
Submitted,
Pending,
Completed,
Cancelled,
}Expand description
The lifecycle state of an overlapped operation’s storage.
Variants§
Idle
Constructed but not yet submitted; the payload may still be prepared.
Submitted
Handed to a native submission call whose outcome is not yet known.
Pending
Accepted by the kernel and awaiting an asynchronous completion.
Completed
A completion has been observed; the payload and result may be read.
Cancelled
Cancellation was requested before completion was observed.
Trait Implementations§
Source§impl Clone for OperationState
impl Clone for OperationState
Source§fn clone(&self) -> OperationState
fn clone(&self) -> OperationState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperationState
Source§impl Debug for OperationState
impl Debug for OperationState
impl Eq for OperationState
Source§impl PartialEq for OperationState
impl PartialEq for OperationState
impl StructuralPartialEq for OperationState
Auto Trait Implementations§
impl Freeze for OperationState
impl RefUnwindSafe for OperationState
impl Send for OperationState
impl Sync for OperationState
impl Unpin for OperationState
impl UnsafeUnpin for OperationState
impl UnwindSafe for OperationState
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