Enum humannum::Error []

pub enum Error {
    Empty,
    InvalidDigit,
    Overflow,
}

Error parsing human-friendly number

Variants

Number is completely empty except whitespace and minus sign

One of the characters in the string is not digit

A number is too large or too small to fit the type

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl PartialEq for Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Clone for Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Error
[src]

impl Display for Error

Formats the value using the given formatter. Read more

impl Error for Error

A short description of the error. Read more

The lower-level cause of this error, if any. Read more