[][src]Struct capnp::capability::RemotePromise

#[must_use]
pub struct RemotePromise<Results> where
    Results: Pipelined + for<'a> Owned<'a> + 'static, 
{ pub promise: Promise<Response<Results>, Error>, pub pipeline: Results::Pipeline, }

A promise for a result from a method call.

Fields

promise: Promise<Response<Results>, Error>pipeline: Results::Pipeline

Auto Trait Implementations

impl<Results> !Send for RemotePromise<Results>

impl<Results> !Sync for RemotePromise<Results>

impl<Results> Unpin for RemotePromise<Results> where
    Results: Unpin,
    <Results as Pipelined>::Pipeline: Unpin

impl<Results> !UnwindSafe for RemotePromise<Results>

impl<Results> !RefUnwindSafe for RemotePromise<Results>

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]