#[non_exhaustive]pub enum FsEffectState {
Unchanged,
PartiallyApplied,
Applied,
Indeterminate,
}Expand description
Strongest known effect that a failed filesystem operation had on storage.
§Examples
use qubit_fs::error::FsEffectState;
let unchanged = FsEffectState::Unchanged;
assert!(matches!(unchanged, FsEffectState::Unchanged));Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unchanged
The provider proved that the requested mutation did not occur.
PartiallyApplied
Some requested changes occurred, but the operation did not complete.
Applied
The requested namespace or data change occurred before a later failure.
Indeterminate
The provider cannot determine whether the requested change occurred.
Trait Implementations§
Source§impl Clone for FsEffectState
impl Clone for FsEffectState
Source§fn clone(&self) -> FsEffectState
fn clone(&self) -> FsEffectState
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 FsEffectState
Source§impl Debug for FsEffectState
impl Debug for FsEffectState
impl Eq for FsEffectState
Source§impl Hash for FsEffectState
impl Hash for FsEffectState
Source§impl PartialEq for FsEffectState
impl PartialEq for FsEffectState
impl StructuralPartialEq for FsEffectState
Auto Trait Implementations§
impl Freeze for FsEffectState
impl RefUnwindSafe for FsEffectState
impl Send for FsEffectState
impl Sync for FsEffectState
impl Unpin for FsEffectState
impl UnsafeUnpin for FsEffectState
impl UnwindSafe for FsEffectState
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