Enum ordered_float::ParseNotNanError
source · pub enum ParseNotNanError<E> {
ParseFloatError(E),
IsNaN,
}
Expand description
An error indicating a parse error from a string for NotNan
.
Variants§
ParseFloatError(E)
A plain parse error from the underlying float type.
IsNaN
The parsed float value resulted in a NaN.
Trait Implementations§
source§impl<E: Clone> Clone for ParseNotNanError<E>
impl<E: Clone> Clone for ParseNotNanError<E>
source§fn clone(&self) -> ParseNotNanError<E>
fn clone(&self) -> ParseNotNanError<E>
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<E: Debug> Debug for ParseNotNanError<E>
impl<E: Debug> Debug for ParseNotNanError<E>
source§impl<E: Debug> Display for ParseNotNanError<E>
impl<E: Debug> Display for ParseNotNanError<E>
source§impl<E: Debug> Error for ParseNotNanError<E>
impl<E: Debug> Error for ParseNotNanError<E>
source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more