#[non_exhaustive]pub enum ConflictReason {
Exists,
Missing,
Mismatch,
}Expand description
Why a CAS update could not commit.
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.
Exists
MISSING, but the ref exists.
Missing
MATCH, but the ref is absent.
Mismatch
MATCH, but the current value differs from the expected id.
Trait Implementations§
Source§impl Clone for ConflictReason
impl Clone for ConflictReason
impl Copy for ConflictReason
Source§impl Debug for ConflictReason
impl Debug for ConflictReason
impl Eq for ConflictReason
Source§impl PartialEq for ConflictReason
impl PartialEq for ConflictReason
impl StructuralPartialEq for ConflictReason
Auto Trait Implementations§
impl Freeze for ConflictReason
impl RefUnwindSafe for ConflictReason
impl Send for ConflictReason
impl Sync for ConflictReason
impl Unpin for ConflictReason
impl UnsafeUnpin for ConflictReason
impl UnwindSafe for ConflictReason
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