pub enum WriteFailureState {
RetryableNotPublished,
NotPublished,
Published,
Indeterminate,
}Expand description
Provider-confirmed recovery state when a write commit fails.
§Examples
use qubit_fs::write::WriteFailureState;
assert!(matches!(WriteFailureState::NotPublished, WriteFailureState::NotPublished));Variants§
RetryableNotPublished
Publication can be retried using the retained session.
NotPublished
The target was not published and only cleanup remains possible.
Published
The target was published and only cleanup remains possible.
Indeterminate
The provider cannot determine whether publication occurred.
Trait Implementations§
Source§impl Clone for WriteFailureState
impl Clone for WriteFailureState
impl Copy for WriteFailureState
Source§impl Debug for WriteFailureState
impl Debug for WriteFailureState
impl Eq for WriteFailureState
Source§impl PartialEq for WriteFailureState
impl PartialEq for WriteFailureState
impl StructuralPartialEq for WriteFailureState
Auto Trait Implementations§
impl Freeze for WriteFailureState
impl RefUnwindSafe for WriteFailureState
impl Send for WriteFailureState
impl Sync for WriteFailureState
impl Unpin for WriteFailureState
impl UnsafeUnpin for WriteFailureState
impl UnwindSafe for WriteFailureState
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