Enum getopts::Fail_Experimental
[-]
[+]
[src]
pub enum Fail_ {
ArgumentMissing(String),
UnrecognizedOption(String),
OptionMissing(String),
OptionDuplicated(String),
UnexpectedArgument(String),
}The type returned when the command line does not conform to the
expected format. Use the Show implementation to output detailed
information.
Variants
Methods
impl Fail_
fn to_err_msg(self) -> String
Convert a Fail_ enum into an error string.