[][src]Enum simon::ChoiceError

pub enum ChoiceError<A, B> {
    A(A),
    B(B),
    MultipleMutuallyExclusiveArgs {
        a: String,
        b: String,
    },
}

Variants

A(A)
B(B)
MultipleMutuallyExclusiveArgs

Fields of MultipleMutuallyExclusiveArgs

a: Stringb: String

Trait Implementations

impl<A, B> Display for ChoiceError<A, B> where
    A: Display,
    B: Display
[src]

impl<A: Debug, B: Debug> Debug for ChoiceError<A, B>[src]

Auto Trait Implementations

impl<A, B> Send for ChoiceError<A, B> where
    A: Send,
    B: Send

impl<A, B> Sync for ChoiceError<A, B> where
    A: Sync,
    B: Sync

impl<A, B> Unpin for ChoiceError<A, B> where
    A: Unpin,
    B: Unpin

impl<A, B> UnwindSafe for ChoiceError<A, B> where
    A: UnwindSafe,
    B: UnwindSafe

impl<A, B> RefUnwindSafe for ChoiceError<A, B> where
    A: RefUnwindSafe,
    B: RefUnwindSafe

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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