pub enum SyncError {
Show 13 variants
ConcurrentEvents(String),
InvalidOperation(String),
MerkleVerificationFailed(String),
DeltaEncodingError(String),
CoordinationError(String),
MergeConflict(String),
SerializationError(String),
IoError(Error),
JsonError(Error),
InvalidDeviceId(String),
Timeout(String),
NetworkError(String),
StateInconsistency(String),
}Expand description
Synchronization error types
Variants§
ConcurrentEvents(String)
Vector clock comparison resulted in concurrent/conflicting events
InvalidOperation(String)
Invalid operation in operational transformation
MerkleVerificationFailed(String)
Merkle tree verification failed
DeltaEncodingError(String)
Delta encoding/decoding error
CoordinationError(String)
Device coordination error
MergeConflict(String)
CRDT merge conflict
SerializationError(String)
Serialization error
IoError(Error)
I/O error
JsonError(Error)
JSON error
InvalidDeviceId(String)
Invalid device ID
Timeout(String)
Operation timeout
NetworkError(String)
Network error
StateInconsistency(String)
State inconsistency detected
Trait Implementations§
Source§impl Error for SyncError
impl Error for SyncError
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()
Auto Trait Implementations§
impl Freeze for SyncError
impl !RefUnwindSafe for SyncError
impl Send for SyncError
impl Sync for SyncError
impl Unpin for SyncError
impl UnsafeUnpin for SyncError
impl !UnwindSafe for SyncError
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