Enum rustop::ArgError [] [src]

pub enum ArgError {
    MissingArgument,
    UnexpectedArgument(String),
    ParseError(Box<Error>),
}

An error when parsing an argument of an option or parameter.

Variants

Required argument is missing.

An unexpected argument has been found (e.g. for a flag).

Error parsing the string to the required argument type.

Trait Implementations

impl Debug for ArgError
[src]

Formats the value using the given formatter.

impl Display for ArgError
[src]

Formats the value using the given formatter. Read more

impl Error for ArgError
[src]

A short description of the error. Read more

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