[][src]Enum simon::ConvertStringError

pub enum ConvertStringError<A, E> {
    Arg(A),
    FailedToConvert {
        name: String,
        arg_string: String,
        error: E,
    },
}

Variants

Arg(A)
FailedToConvert

Fields of FailedToConvert

name: Stringarg_string: Stringerror: E

Trait Implementations

impl<A: Debug, E: Debug> Debug for ConvertStringError<A, E>[src]

impl<A, E> Display for ConvertStringError<A, E> where
    A: Display,
    E: Display
[src]

Auto Trait Implementations

impl<A, E> RefUnwindSafe for ConvertStringError<A, E> where
    A: RefUnwindSafe,
    E: RefUnwindSafe

impl<A, E> Send for ConvertStringError<A, E> where
    A: Send,
    E: Send

impl<A, E> Sync for ConvertStringError<A, E> where
    A: Sync,
    E: Sync

impl<A, E> Unpin for ConvertStringError<A, E> where
    A: Unpin,
    E: Unpin

impl<A, E> UnwindSafe for ConvertStringError<A, E> where
    A: UnwindSafe,
    E: UnwindSafe

Blanket Implementations

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

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

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

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.