Struct capnp::capability::RemotePromise
source · pub struct RemotePromise<Results>{
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> Freeze for RemotePromise<Results>
impl<Results> !RefUnwindSafe for RemotePromise<Results>
impl<Results> !Send for RemotePromise<Results>
impl<Results> !Sync for RemotePromise<Results>
impl<Results> Unpin for RemotePromise<Results>
impl<Results> !UnwindSafe for RemotePromise<Results>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more