Enum json_number::TryFromFloatError
source · pub enum TryFromFloatError {
Nan,
Infinite,
}
Expand description
Float conversion error.
Variants§
Nan
The float was Nan, which is not a JSON number.
Infinite
The float was not finite, and hence not a JSON number.
Trait Implementations§
source§impl Clone for TryFromFloatError
impl Clone for TryFromFloatError
source§fn clone(&self) -> TryFromFloatError
fn clone(&self) -> TryFromFloatError
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 more