pub enum CrdtError {
ConflictingDot,
Conflict(usize),
ImmutableAlreadySet,
MissingPredecessor,
MissingElement,
InvalidRemoval,
CounterOverflow,
OperationIndexExhausted,
CyclicList,
}Expand description
A deterministic CRDT operation or merge failure.
Variants§
ConflictingDot
Distinct values claimed the same globally unique operation dot.
Conflict(usize)
A multi-value read requires explicit conflict handling.
ImmutableAlreadySet
A write-once value was assigned again in its causal future.
MissingPredecessor
A list insertion referenced an element that is not present.
MissingElement
A list removal referenced an element that is not present.
InvalidRemoval
A list removal did not causally observe the referenced element.
CounterOverflow
An arithmetic operation exceeded its durable integer range.
OperationIndexExhausted
A commit attempted to allocate more operation identities than fit on the wire.
CyclicList
An ordered list contains a parent cycle or unreachable element.
Trait Implementations§
Source§impl Error for CrdtError
impl Error for CrdtError
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<CrdtError> for RecordError
impl From<CrdtError> for RecordError
impl Eq for CrdtError
impl StructuralPartialEq for CrdtError
Auto Trait Implementations§
impl Freeze for CrdtError
impl RefUnwindSafe for CrdtError
impl Send for CrdtError
impl Sync for CrdtError
impl Unpin for CrdtError
impl UnwindSafe for CrdtError
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