pub enum MutationDecodeError {
WordsTooShort,
NegativeKeyLength,
NegativeValueLength,
}
Expand description
Errors that can occur when decoding a predicate.
Variants§
WordsTooShort
The words are too short for the lengths of the key or value.
NegativeKeyLength
The key length is negative.
NegativeValueLength
The value length is negative.
Trait Implementations§
Source§impl Debug for MutationDecodeError
impl Debug for MutationDecodeError
Source§impl Display for MutationDecodeError
impl Display for MutationDecodeError
Source§impl Error for MutationDecodeError
impl Error for MutationDecodeError
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 MutationDecodeError
impl PartialEq for MutationDecodeError
impl StructuralPartialEq for MutationDecodeError
Auto Trait Implementations§
impl Freeze for MutationDecodeError
impl RefUnwindSafe for MutationDecodeError
impl Send for MutationDecodeError
impl Sync for MutationDecodeError
impl Unpin for MutationDecodeError
impl UnwindSafe for MutationDecodeError
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