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
MissingArgument
Required argument is missing.
UnexpectedArgument(String)
An unexpected argument has been found (e.g. for a flag).
ParseError(Box<Error>)
Error parsing the string to the required argument type.
Trait Implementations
impl Debug for ArgError
[src]
impl Display for ArgError
[src]
fn fmt(&self, fmt: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more