pub enum PersistFailureState {
NotPublished,
NotPublishedSourceIndeterminate,
NotPublishedSourceCleanupRequired,
NotPublishedSourceReleased,
PublishedSourceRetained,
PublishedSourceIndeterminate,
PublishedSourceReleased,
Indeterminate,
}Expand description
Provider-confirmed progress when a persist call does not fully complete.
§Examples
use qubit_fs::temp::PersistFailureState;
assert!(matches!(PersistFailureState::NotPublished, PersistFailureState::NotPublished));Variants§
NotPublished
The target was not published and the handle still owns the source.
NotPublishedSourceIndeterminate
The target was not published, but source mutation authority is uncertain.
NotPublishedSourceCleanupRequired
The target was not published and only residual cleanup is permitted.
NotPublishedSourceReleased
The target was not published and the handle released its source.
PublishedSourceRetained
The target was published, but the handle still owns source cleanup.
PublishedSourceIndeterminate
The target was published, but source mutation authority is uncertain.
PublishedSourceReleased
The target was published and the handle released its source.
Indeterminate
The provider cannot determine the final target or source state.
Trait Implementations§
Source§impl Clone for PersistFailureState
impl Clone for PersistFailureState
impl Copy for PersistFailureState
Source§impl Debug for PersistFailureState
impl Debug for PersistFailureState
impl Eq for PersistFailureState
Source§impl PartialEq for PersistFailureState
impl PartialEq for PersistFailureState
impl StructuralPartialEq for PersistFailureState
Auto Trait Implementations§
impl Freeze for PersistFailureState
impl RefUnwindSafe for PersistFailureState
impl Send for PersistFailureState
impl Sync for PersistFailureState
impl Unpin for PersistFailureState
impl UnsafeUnpin for PersistFailureState
impl UnwindSafe for PersistFailureState
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