[][src]Enum capnp_rpc::rpc_capnp::return_::Which

pub enum Which<A0, A1, A2> {
    Results(A0),
    Exception(A1),
    Canceled(()),
    ResultsSentElsewhere(()),
    TakeFromOtherQuestion(u32),
    AcceptFromThirdParty(A2),
}

Variants

Results(A0)
Exception(A1)
Canceled(())
ResultsSentElsewhere(())
TakeFromOtherQuestion(u32)
AcceptFromThirdParty(A2)

Auto Trait Implementations

impl<A0, A1, A2> Send for Which<A0, A1, A2> where
    A0: Send,
    A1: Send,
    A2: Send

impl<A0, A1, A2> Sync for Which<A0, A1, A2> where
    A0: Sync,
    A1: Sync,
    A2: Sync

impl<A0, A1, A2> Unpin for Which<A0, A1, A2> where
    A0: Unpin,
    A1: Unpin,
    A2: Unpin

impl<A0, A1, A2> UnwindSafe for Which<A0, A1, A2> where
    A0: UnwindSafe,
    A1: UnwindSafe,
    A2: UnwindSafe

impl<A0, A1, A2> RefUnwindSafe for Which<A0, A1, A2> where
    A0: RefUnwindSafe,
    A1: RefUnwindSafe,
    A2: RefUnwindSafe

Blanket Implementations

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> 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]