Enum getopts::FailUnstable
[-] [+]
[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 Debug implementation to output detailed
information.
Variants
Methods
impl Fail
fn to_err_msg(self) -> String
Convert a Fail enum into an error string.