pub enum DsonError {
ParseError(String),
IoError(Error),
InvalidField(String),
SchemaError(String),
MergeConflict(String),
InvalidOperation(String),
SerdeError(String),
SerializationError(String),
SimdJsonlError(String),
SkipTapeError(String),
MemoryError(String),
ValidationError(String),
}Expand description
Errors that can occur during DSON processing
Variants§
ParseError(String)
JSON parsing error
IoError(Error)
I/O error
InvalidField(String)
Invalid field access
SchemaError(String)
Schema validation error
MergeConflict(String)
CRDT merge conflict
InvalidOperation(String)
Invalid operation
SerdeError(String)
Serde serialization/deserialization error
SerializationError(String)
JSON serialization error
SimdJsonlError(String)
SIMD-JSONL processing error
SkipTapeError(String)
Skip tape processing error
MemoryError(String)
Memory allocation error
ValidationError(String)
Validation error
Trait Implementations§
Source§impl Error for DsonError
impl Error for DsonError
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 DsonError
impl !RefUnwindSafe for DsonError
impl Send for DsonError
impl Sync for DsonError
impl Unpin for DsonError
impl !UnwindSafe for DsonError
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