Enum argonaut::DefinitionError [] [src]

pub enum DefinitionError<'a> {
    SameShortName(&'a str, &'a str),
    OptionDefinedTwice(&'a str),
    PositionalDefinedTwice(&'a str),
    TwoTrailsDefined,
}

An error found when defining the expected argument structure.

Variants

Two optional arguments have the same short name (eg: both --verbose and --version using -v).

The optional name is defined twice.

The positional name is defined twice.

Two trail definitions were given.

Trait Implementations

impl<'a> Debug for DefinitionError<'a>
[src]

Formats the value using the given formatter.

impl<'a> PartialEq for DefinitionError<'a>
[src]

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

This method tests for !=.