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

pub enum Which<A0, A1> {
    None(()),
    SenderHosted(u32),
    SenderPromise(u32),
    ReceiverHosted(u32),
    ReceiverAnswer(A0),
    ThirdPartyHosted(A1),
}

Variants

None(())
SenderHosted(u32)
SenderPromise(u32)
ReceiverHosted(u32)
ReceiverAnswer(A0)
ThirdPartyHosted(A1)

Auto Trait Implementations

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

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

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

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

impl<A0, A1> UnwindSafe for Which<A0, A1> where
    A0: UnwindSafe,
    A1: 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.