pub enum VarLenIdStringDeserializeError {
InvalidCharacter {
pos: usize,
c: char,
},
IncorrectLength {
len: usize,
expected_most: usize,
},
}Expand description
An error that can occur while parsing an IdString
Variants§
Trait Implementations§
Source§impl Error for VarLenIdStringDeserializeError
impl Error for VarLenIdStringDeserializeError
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()
Auto Trait Implementations§
impl Freeze for VarLenIdStringDeserializeError
impl RefUnwindSafe for VarLenIdStringDeserializeError
impl Send for VarLenIdStringDeserializeError
impl Sync for VarLenIdStringDeserializeError
impl Unpin for VarLenIdStringDeserializeError
impl UnwindSafe for VarLenIdStringDeserializeError
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