pub enum ParseOptionError {
    Generic(ParseError),
    UnknownFlag {
        loc: Location,
        name: String,
    },
}
Expand description

An error type returned by parse_options.

Variants

Generic(ParseError)

A generic ParseError.

UnknownFlag

Fields

loc: Location

Location where the flag was given.

name: String

Name of the unknown flag.

An unknown flag was used, with the given name at the given location.

Trait Implementations

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.