pub enum ParseIntError {
InvalidString(ParseIntError),
Overflow,
}
Expand description
Error type for integer parsing related errors.
Variants§
InvalidString(ParseIntError)
Error while parsing underlying type.
Overflow
Underlying integer type does not fit into the target type.
Trait Implementations§
Source§impl Clone for ParseIntError
impl Clone for ParseIntError
Source§fn clone(&self) -> ParseIntError
fn clone(&self) -> ParseIntError
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 ParseIntError
impl Debug for ParseIntError
Source§impl Display for ParseIntError
impl Display for ParseIntError
Source§impl Error for ParseIntError
impl Error for ParseIntError
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 ParseIntError
impl RefUnwindSafe for ParseIntError
impl Send for ParseIntError
impl Sync for ParseIntError
impl Unpin for ParseIntError
impl UnwindSafe for ParseIntError
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