pub enum ParseErr {
Utf8(Utf8Error),
Int(ParseIntError),
Empty,
Invalid,
}
Variants
Utf8(Utf8Error)
Int(ParseIntError)
Empty
Invalid
Trait Implementations
sourceimpl Error for ParseErr
impl Error for ParseErr
sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourceimpl From<ParseIntError> for ParseErr
impl From<ParseIntError> for ParseErr
sourcefn from(e: ParseIntError) -> Self
fn from(e: ParseIntError) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for ParseErr
Auto Trait Implementations
impl RefUnwindSafe for ParseErr
impl Send for ParseErr
impl Sync for ParseErr
impl Unpin for ParseErr
impl UnwindSafe for ParseErr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more