Enum gong::ItemE
[−]
[src]
pub enum ItemE<'a> { LongMissingData(usize, &'a str), ShortMissingData(usize, char), AmbiguousLong(usize, &'a str), }
Error-level items. See ItemClass
documentation for details.
Variants
LongMissingData(usize, &'a str)
Long option match, but data argument missing [ERROR]
ShortMissingData(usize, char)
Short option match, but data argument missing [ERROR]
AmbiguousLong(usize, &'a str)
Ambiguous match with multiple long options. This only occurs when an exact match was not found, but multiple abbreviated possible matches were found. [ERROR]
Trait Implementations
impl<'a> Debug for ItemE<'a>
[src]
impl<'a> Clone for ItemE<'a>
[src]
fn clone(&self) -> ItemE<'a>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'a> Copy for ItemE<'a>
[src]
impl<'a> PartialEq for ItemE<'a>
[src]
fn eq(&self, __arg_0: &ItemE<'a>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ItemE<'a>) -> bool
[src]
This method tests for !=
.