pub struct ParseIntError { /* private fields */ }Expand description
The error type that is returned when parsing an integer from an invalid source.
This error can occur when the from_str_radix or FromStr::from_str methods of e.g. BUint are called with an invalid input string.
Implementations§
Source§impl ParseIntError
impl ParseIntError
Sourcepub const fn kind(&self) -> &IntErrorKind
pub const fn kind(&self) -> &IntErrorKind
Returns the enum IntErrorKind, which shows the reason that the parsing input was invalid.
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 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