[][src]Enum parse_arg::ParseArgError

pub enum ParseArgError<E> {
    FromStr(E),
    InvalidUtf8,
}

Possible error when parsing certain arguments.

This is used for bridging implementations of FromStr, because they require UTF-8 encoded inputs.

Variants

FromStr(E)

Parsing as implemented by FromStr failed.

InvalidUtf8

The input isn't UTF-8 encoded.

Trait Implementations

impl<E: Eq> Eq for ParseArgError<E>[src]

impl<E: Clone> Clone for ParseArgError<E>[src]

impl<E: PartialEq> PartialEq<ParseArgError<E>> for ParseArgError<E>[src]

impl<E: Display> From<E> for ParseArgError<E>[src]

impl<E: Copy> Copy for ParseArgError<E>[src]

impl<E: Hash> Hash for ParseArgError<E>[src]

impl<E: Display> Display for ParseArgError<E>[src]

impl<E: Display> Debug for ParseArgError<E>[src]

Debug is implemented via Display in order to make using ? operator in main nice.

Auto Trait Implementations

impl<E> Unpin for ParseArgError<E> where
    E: Unpin

impl<E> Sync for ParseArgError<E> where
    E: Sync

impl<E> Send for ParseArgError<E> where
    E: Send

impl<E> UnwindSafe for ParseArgError<E> where
    E: UnwindSafe

impl<E> RefUnwindSafe for ParseArgError<E> where
    E: RefUnwindSafe

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]