Enum getopts::FailType
[−]
[src]
pub enum FailType { ArgumentMissing_, UnrecognizedOption_, OptionMissing_, OptionDuplicated_, UnexpectedArgument_, }
The type of failure that occurred.
Variants
ArgumentMissing_
UnrecognizedOption_
OptionMissing_
OptionDuplicated_
UnexpectedArgument_
Trait Implementations
impl Eq for FailType
[src]
impl PartialEq for FailType
[src]
fn eq(&self, __arg_0: &FailType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Copy for FailType
[src]
impl Clone for FailType
[src]
fn clone(&self) -> FailType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more