Enum read_token::ParseNumberError
[−]
[src]
pub enum ParseNumberError { ExpectedDigits, Invalid, OverflowInfinity, OverflowNegInfinity, }
Error when parsing number.
Variants
ExpectedDigits
The number was empty.
Invalid
The number is of invalid format.
OverflowInfinity
The number overflowed to infinity.
OverflowNegInfinity
The number overflowed to negative infinity.
Trait Implementations
impl Copy for ParseNumberError
[src]
impl Clone for ParseNumberError
[src]
fn clone(&self) -> ParseNumberError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ParseNumberError
[src]
impl PartialEq for ParseNumberError
[src]
fn eq(&self, __arg_0: &ParseNumberError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.