pub enum MaterializedError {
RecordIdTooLarge(usize),
RecordStateTooLarge(usize),
IndexValueTooLarge(usize),
InvalidIndexField(u32),
Codec(String),
Schema(String),
NonCanonicalEncoding,
DeleteHasIndexes,
}Expand description
A rejected materialized-record input.
Variants§
RecordIdTooLarge(usize)
A record key exceeded the protocol bound.
RecordStateTooLarge(usize)
A materialized record exceeded the local safety bound.
IndexValueTooLarge(usize)
An index value exceeded the local safety bound.
InvalidIndexField(u32)
Field zero is reserved for record-level operations.
Codec(String)
A durable mutation could not be encoded or decoded.
Schema(String)
A durable mutation contained an invalid schema.
NonCanonicalEncoding
A decoded representation was not uniquely canonical.
DeleteHasIndexes
A deletion illegally carried secondary index values.
Trait Implementations§
Source§impl Clone for MaterializedError
impl Clone for MaterializedError
Source§fn clone(&self) -> MaterializedError
fn clone(&self) -> MaterializedError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MaterializedError
impl Debug for MaterializedError
Source§impl Display for MaterializedError
impl Display for MaterializedError
Source§impl Error for MaterializedError
impl Error for MaterializedError
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 PartialEq for MaterializedError
impl PartialEq for MaterializedError
impl Eq for MaterializedError
impl StructuralPartialEq for MaterializedError
Auto Trait Implementations§
impl Freeze for MaterializedError
impl RefUnwindSafe for MaterializedError
impl Send for MaterializedError
impl Sync for MaterializedError
impl Unpin for MaterializedError
impl UnwindSafe for MaterializedError
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