pub enum AsyncCopyOperationState {
Ready,
Running,
Completed,
Failed(CopyFailureState),
}Expand description
Stable lifecycle state for crate::copy::AsyncCopyOperation.
§Examples
use qubit_fs::copy::AsyncCopyOperationState;
assert!(matches!(AsyncCopyOperationState::Ready, AsyncCopyOperationState::Ready));Variants§
Ready
The operation passed synchronous preflight and has not been polled.
Running
Provider I/O may be in progress.
Completed
A copy outcome was returned successfully.
Failed(CopyFailureState)
The operation failed with its confirmed publication state.
Tuple Fields
§
0: CopyFailureStateConfirmed destination publication state at failure time.
Trait Implementations§
Source§impl Clone for AsyncCopyOperationState
impl Clone for AsyncCopyOperationState
impl Copy for AsyncCopyOperationState
Source§impl Debug for AsyncCopyOperationState
impl Debug for AsyncCopyOperationState
impl Eq for AsyncCopyOperationState
Source§impl PartialEq for AsyncCopyOperationState
impl PartialEq for AsyncCopyOperationState
impl StructuralPartialEq for AsyncCopyOperationState
Auto Trait Implementations§
impl Freeze for AsyncCopyOperationState
impl RefUnwindSafe for AsyncCopyOperationState
impl Send for AsyncCopyOperationState
impl Sync for AsyncCopyOperationState
impl Unpin for AsyncCopyOperationState
impl UnsafeUnpin for AsyncCopyOperationState
impl UnwindSafe for AsyncCopyOperationState
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