pub enum SecurityJournalStoreErrorV2 {
Conflict,
Failed(V2Error),
}Expand description
Why a SecurityJournalStoreV2::compare_and_swap did not commit.
Variants§
Conflict
Another writer advanced the anchored journal (Go
ErrSecurityJournalConflictV2). The operation must be reloaded and
re-evaluated, not blindly retried with a stale state transition.
Failed(V2Error)
Any other store failure.
Trait Implementations§
Source§impl Clone for SecurityJournalStoreErrorV2
impl Clone for SecurityJournalStoreErrorV2
Source§impl Debug for SecurityJournalStoreErrorV2
impl Debug for SecurityJournalStoreErrorV2
impl Eq for SecurityJournalStoreErrorV2
Source§impl Error for SecurityJournalStoreErrorV2
impl Error for SecurityJournalStoreErrorV2
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<V2Error> for SecurityJournalStoreErrorV2
impl From<V2Error> for SecurityJournalStoreErrorV2
impl StructuralPartialEq for SecurityJournalStoreErrorV2
Auto Trait Implementations§
impl Forget for SecurityJournalStoreErrorV2
impl Freeze for SecurityJournalStoreErrorV2
impl RefUnwindSafe for SecurityJournalStoreErrorV2
impl Send for SecurityJournalStoreErrorV2
impl Sync for SecurityJournalStoreErrorV2
impl Unpin for SecurityJournalStoreErrorV2
impl UnsafeUnpin for SecurityJournalStoreErrorV2
impl UnwindSafe for SecurityJournalStoreErrorV2
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