Struct capnp::capability::RemotePromise
source · [−]pub struct RemotePromise<Results> where
Results: Pipelined + for<'a> Owned<'a> + 'static, {
pub promise: Promise<Response<Results>, Error>,
pub pipeline: Results::Pipeline,
}
Expand description
A promise for a result from a method call.
Fields
promise: Promise<Response<Results>, Error>
pipeline: Results::Pipeline
Auto Trait Implementations
impl<Results> !RefUnwindSafe for RemotePromise<Results>
impl<Results> !Send for RemotePromise<Results>
impl<Results> !Sync for RemotePromise<Results>
impl<Results> Unpin for RemotePromise<Results> where
<Results as Pipelined>::Pipeline: Unpin,
impl<Results> !UnwindSafe for RemotePromise<Results>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more