Enum humanize_rs::ParseError[][src]

pub enum ParseError {
    EmptyInput,
    MissingValue,
    InvalidValue,
    MissingUnit,
    InvalidUnit,
    DuplicateUnit,
    Overflow,
}

Error parsing formatted strings

Variants

Parsing an empty string

The numeric value is missing

Malformed numeric value

The unit is missing

Unknown unit

The unit shows multiple times in the string

The numeric value is too large

Trait Implementations

impl Debug for ParseError
[src]

Formats the value using the given formatter. Read more

impl Copy for ParseError
[src]

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for ParseError
[src]

impl PartialEq for ParseError
[src]

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

This method tests for !=.

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more

impl Error for ParseError
[src]

This method is soft-deprecated. Read more

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

Auto Trait Implementations

impl Send for ParseError

impl Sync for ParseError