pub enum AsyncWriteAllOperationState {
Ready,
Running,
Completed,
Failed(WriteFailureState),
}Expand description
Lifecycle state of an owning asynchronous whole-file write.
§Examples
use qubit_fs::write::AsyncWriteAllOperationState;
assert!(matches!(AsyncWriteAllOperationState::Ready, AsyncWriteAllOperationState::Ready));Variants§
Ready
The operation has not been polled.
Running
The provider call is in progress and has not completed.
Completed
The target was published successfully.
Failed(WriteFailureState)
The operation stopped with the paired publication state.
Trait Implementations§
Source§impl Clone for AsyncWriteAllOperationState
impl Clone for AsyncWriteAllOperationState
Source§fn clone(&self) -> AsyncWriteAllOperationState
fn clone(&self) -> AsyncWriteAllOperationState
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 AsyncWriteAllOperationState
Source§impl Debug for AsyncWriteAllOperationState
impl Debug for AsyncWriteAllOperationState
impl Eq for AsyncWriteAllOperationState
impl StructuralPartialEq for AsyncWriteAllOperationState
Auto Trait Implementations§
impl Freeze for AsyncWriteAllOperationState
impl RefUnwindSafe for AsyncWriteAllOperationState
impl Send for AsyncWriteAllOperationState
impl Sync for AsyncWriteAllOperationState
impl Unpin for AsyncWriteAllOperationState
impl UnsafeUnpin for AsyncWriteAllOperationState
impl UnwindSafe for AsyncWriteAllOperationState
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