Enum num_decimal::ParseNumError [−][src]
pub enum ParseNumError { InvalidStrError(String), ParseIntError(ParseBigIntError), }
Expand description
An error used for conveying parsing failures.
Variants
InvalidStrError(String)
Expand description
A string could not get parsed as a Num
.
ParseIntError(ParseBigIntError)
Expand description
An integer value could not get parsed.
Trait Implementations
impl Debug for ParseNumError
[src]
impl Debug for ParseNumError
[src]impl Display for ParseNumError
[src]
impl Display for ParseNumError
[src]impl Error for ParseNumError
[src]
impl Error for ParseNumError
[src]fn source(&self) -> Option<&(dyn StdError + 'static)>
[src]
fn source(&self) -> Option<&(dyn StdError + 'static)>
[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<ParseBigIntError> for ParseNumError
[src]
impl From<ParseBigIntError> for ParseNumError
[src]fn from(e: ParseBigIntError) -> Self
[src]
fn from(e: ParseBigIntError) -> Self
[src]Performs the conversion.
impl PartialEq<ParseNumError> for ParseNumError
[src]
impl PartialEq<ParseNumError> for ParseNumError
[src]fn eq(&self, other: &ParseNumError) -> bool
[src]
fn eq(&self, other: &ParseNumError) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &ParseNumError) -> bool
[src]
fn ne(&self, other: &ParseNumError) -> bool
[src]This method tests for !=
.
impl StructuralPartialEq for ParseNumError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ParseNumError
impl Send for ParseNumError
impl Sync for ParseNumError
impl Unpin for ParseNumError
impl UnwindSafe for ParseNumError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more