pub enum ParseFloat128Error {
Empty,
Unexpected {
found: char,
at: usize,
},
BadExponent,
}Expand description
Why a decimal string is not a binary128 value.
Variants§
Empty
The string held no digits at all.
Unexpected
A character that cannot appear where it did.
BadExponent
An exponent that is not an integer, or does not fit one.
Trait Implementations§
Source§impl Clone for ParseFloat128Error
impl Clone for ParseFloat128Error
Source§impl Debug for ParseFloat128Error
impl Debug for ParseFloat128Error
Source§impl Display for ParseFloat128Error
impl Display for ParseFloat128Error
impl Eq for ParseFloat128Error
Source§impl Error for ParseFloat128Error
impl Error for ParseFloat128Error
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 ParseFloat128Error
impl PartialEq for ParseFloat128Error
impl StructuralPartialEq for ParseFloat128Error
Auto Trait Implementations§
impl Freeze for ParseFloat128Error
impl RefUnwindSafe for ParseFloat128Error
impl Send for ParseFloat128Error
impl Sync for ParseFloat128Error
impl Unpin for ParseFloat128Error
impl UnsafeUnpin for ParseFloat128Error
impl UnwindSafe for ParseFloat128Error
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