pub enum JwstCodecError {
Show 18 variants
DamagedDocumentJson,
IncompleteDocument(String),
InvalidWriteBuffer(String),
ContentSplitNotSupport(u64),
ItemSplitNotSupport,
UpdateIsEmpty,
UpdateInvalid(Err<Error<usize>>),
UpdateNotFullyConsumed(usize),
StructClockInvalid {
expect: u64,
actually: u64,
},
StructSequenceInvalid {
client_id: u64,
clock: u64,
},
StructSequenceNotExists(u64),
InvalidParent,
ParentNotFound,
InvalidStructType(&'static str),
TypeCastError(&'static str),
RootStructNotFound(String),
IndexOutOfBound(u64),
DocReleased,
}
Variants§
DamagedDocumentJson
IncompleteDocument(String)
InvalidWriteBuffer(String)
ContentSplitNotSupport(u64)
ItemSplitNotSupport
UpdateIsEmpty
UpdateInvalid(Err<Error<usize>>)
UpdateNotFullyConsumed(usize)
StructClockInvalid
StructSequenceInvalid
StructSequenceNotExists(u64)
InvalidParent
ParentNotFound
InvalidStructType(&'static str)
TypeCastError(&'static str)
RootStructNotFound(String)
IndexOutOfBound(u64)
DocReleased
Trait Implementations§
Source§impl Debug for JwstCodecError
impl Debug for JwstCodecError
Source§impl Display for JwstCodecError
impl Display for JwstCodecError
Source§impl Error for JwstCodecError
impl Error for JwstCodecError
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 PartialEq for JwstCodecError
impl PartialEq for JwstCodecError
impl StructuralPartialEq for JwstCodecError
Auto Trait Implementations§
impl Freeze for JwstCodecError
impl RefUnwindSafe for JwstCodecError
impl Send for JwstCodecError
impl Sync for JwstCodecError
impl Unpin for JwstCodecError
impl UnwindSafe for JwstCodecError
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