Enum party_types::ChoiceResult[][src]

pub enum ChoiceResult<T1, C1, T2, C2> {
    One(T1, C1),
    Two(T2, C2),
}

This value is received when the choice is resolved.

Variants

One(T1, C1)
Two(T2, C2)

Auto Trait Implementations

impl<T1, C1, T2, C2> RefUnwindSafe for ChoiceResult<T1, C1, T2, C2> where
    C1: RefUnwindSafe,
    C2: RefUnwindSafe,
    T1: RefUnwindSafe,
    T2: RefUnwindSafe

impl<T1, C1, T2, C2> Send for ChoiceResult<T1, C1, T2, C2> where
    C1: Send,
    C2: Send,
    T1: Send,
    T2: Send

impl<T1, C1, T2, C2> Sync for ChoiceResult<T1, C1, T2, C2> where
    C1: Sync,
    C2: Sync,
    T1: Sync,
    T2: Sync

impl<T1, C1, T2, C2> Unpin for ChoiceResult<T1, C1, T2, C2> where
    C1: Unpin,
    C2: Unpin,
    T1: Unpin,
    T2: Unpin

impl<T1, C1, T2, C2> UnwindSafe for ChoiceResult<T1, C1, T2, C2> where
    C1: UnwindSafe,
    C2: UnwindSafe,
    T1: UnwindSafe,
    T2: 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, 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.