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> Debug for ItemE<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> Clone for ItemE<'a>
[src]
impl<'a> Clone for ItemE<'a>
fn clone(&self) -> ItemE<'a>
[src]
fn clone(&self) -> ItemE<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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> Copy for ItemE<'a>
impl<'a> PartialEq for ItemE<'a>
[src]
impl<'a> PartialEq for ItemE<'a>
fn eq(&self, other: &ItemE<'a>) -> bool
[src]
fn eq(&self, other: &ItemE<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ItemE<'a>) -> bool
[src]
fn ne(&self, other: &ItemE<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for ItemE<'a>
[src]
impl<'a> Eq for ItemE<'a>