[−][src]Enum getargs::Error
A parse error.
Variants
UnknownOpt(Opt<'a>)
An unknown option was passed.
RequiresValue(Opt<'a>)
The option requires a value, but one was not supplied.
DoesNotRequireValue(Opt<'a>)
The option does not require a value, but one was supplied.
A value for an option could not be parsed.
A positional argument could not be parsed.
Trait Implementations
impl<'a> Clone for Error<'a>
[src]
impl<'a> Eq for Error<'a>
[src]
impl<'a> PartialEq<Error<'a>> for Error<'a>
[src]
impl<'_> Display for Error<'_>
[src]
impl<'a> Debug for Error<'a>
[src]
impl<'a> StructuralPartialEq for Error<'a>
[src]
impl<'a> StructuralEq for Error<'a>
[src]
impl<'_> Error for Error<'_>
[src]
Auto Trait Implementations
impl<'a> Send for Error<'a>
impl<'a> Sync for Error<'a>
impl<'a> Unpin for Error<'a>
impl<'a> UnwindSafe for Error<'a>
impl<'a> RefUnwindSafe for Error<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,