Enum read_token::ParseNumberError
[−]
[src]
pub enum ParseNumberError {
ExpectedDigits,
Invalid,
OverflowInfinity,
OverflowNegInfinity,
}Error when parsing number.
Variants
ExpectedDigitsThe number was empty.
InvalidThe number is of invalid format.
OverflowInfinityThe number overflowed to infinity.
OverflowNegInfinityThe 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) -> bool1.0.0
This method tests for !=.