pub struct ParseIntError { /* private fields */ }
Implementations§
Source§impl ParseIntError
impl ParseIntError
Sourcepub fn kind(&self) -> &IntErrorKind
pub fn kind(&self) -> &IntErrorKind
Outputs the detailed cause of parsing an integer failing.
Trait Implementations§
Source§impl Clone for ParseIntError
impl Clone for ParseIntError
Source§fn clone(&self) -> ParseIntError
fn clone(&self) -> ParseIntError
Returns a copy 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
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 ParseIntError
impl PartialEq for ParseIntError
impl Eq for ParseIntError
impl StructuralPartialEq for ParseIntError
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