pub enum RollbackForkFailure {
SchemaVersionRollback {
current: u16,
candidate: u16,
},
ForkMarkerPresent {
location: RollbackForkStateLocation,
marker: String,
},
}Expand description
Rollback/fork refusal invariant failure.
Variants§
SchemaVersionRollback
Candidate state declares a lower schema version than current state.
ForkMarkerPresent
A fork marker is present where silent continuation would be unsafe.
Implementations§
Trait Implementations§
Source§impl Clone for RollbackForkFailure
impl Clone for RollbackForkFailure
Source§fn clone(&self) -> RollbackForkFailure
fn clone(&self) -> RollbackForkFailure
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 moreSource§impl Debug for RollbackForkFailure
impl Debug for RollbackForkFailure
Source§impl PartialEq for RollbackForkFailure
impl PartialEq for RollbackForkFailure
Source§fn eq(&self, other: &RollbackForkFailure) -> bool
fn eq(&self, other: &RollbackForkFailure) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RollbackForkFailure
impl StructuralPartialEq for RollbackForkFailure
Auto Trait Implementations§
impl Freeze for RollbackForkFailure
impl RefUnwindSafe for RollbackForkFailure
impl Send for RollbackForkFailure
impl Sync for RollbackForkFailure
impl Unpin for RollbackForkFailure
impl UnsafeUnpin for RollbackForkFailure
impl UnwindSafe for RollbackForkFailure
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