pub enum SerializationError {
ValueOutOfBounds(i32, i32, i32),
UnexpectedLength(usize, usize),
MissingLengthByKey(String),
InvalidData(String),
}Variants§
ValueOutOfBounds(i32, i32, i32)
Value is out of bounds (value, min, max)
UnexpectedLength(usize, usize)
MissingLengthByKey(String)
Missing runtime length key
InvalidData(String)
Validation did fail for the data
Trait Implementations§
Source§impl Debug for SerializationError
impl Debug for SerializationError
Source§impl PartialEq for SerializationError
impl PartialEq for SerializationError
impl StructuralPartialEq for SerializationError
Auto Trait Implementations§
impl Freeze for SerializationError
impl RefUnwindSafe for SerializationError
impl Send for SerializationError
impl Sync for SerializationError
impl Unpin for SerializationError
impl UnwindSafe for SerializationError
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