pub enum CrdtError {
Serialization(String),
Deserialization(String),
Merge(String),
Validation(String),
InvalidInput(String),
Internal(String),
}Expand description
Error type for CRDT operations
Variants§
Serialization(String)
Deserialization(String)
Merge(String)
Validation(String)
InvalidInput(String)
Internal(String)
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()
Auto Trait Implementations§
impl Freeze for CrdtError
impl RefUnwindSafe for CrdtError
impl Send for CrdtError
impl Sync for CrdtError
impl Unpin for CrdtError
impl UnsafeUnpin 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