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 Eq 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 !=.

impl Debug for ParseNumberError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

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 Copy for ParseNumberError
[src]

impl Display for ParseNumberError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()FormatError>

Formats the value using the given formatter.