pub struct ParsingNumberError { /* private fields */ }Expand description
Error type for parsing number-related errors. This error type encapsulates specific parsing errors for fractions, floating-point numbers, and numbers in standard form.
Implementations§
Source§impl ParsingNumberError
impl ParsingNumberError
Sourcepub fn fraction(&self) -> &ParsingFractionError
pub fn fraction(&self) -> &ParsingFractionError
Retrieves a reference to the parsing error related to fractions.
Sourcepub fn double(&self) -> &ParseFloatError
pub fn double(&self) -> &ParseFloatError
Retrieves a reference to the parsing error related to floating-point numbers.
Sourcepub fn standardform(&self) -> &ParsingStandardFormError
pub fn standardform(&self) -> &ParsingStandardFormError
Retrieves a reference to the parsing error related to numbers in standard form.
Trait Implementations§
Source§impl Clone for ParsingNumberError
impl Clone for ParsingNumberError
Source§fn clone(&self) -> ParsingNumberError
fn clone(&self) -> ParsingNumberError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ParsingNumberError
impl Debug for ParsingNumberError
Source§impl Display for ParsingNumberError
impl Display for ParsingNumberError
Source§impl Error for ParsingNumberError
impl Error for ParsingNumberError
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()
Auto Trait Implementations§
impl Freeze for ParsingNumberError
impl RefUnwindSafe for ParsingNumberError
impl Send for ParsingNumberError
impl Sync for ParsingNumberError
impl Unpin for ParsingNumberError
impl UnsafeUnpin for ParsingNumberError
impl UnwindSafe for ParsingNumberError
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