Struct capnp::capability::Request
source · [−]pub struct Request<Params, Results> {
pub marker: PhantomData<(Params, Results)>,
pub hook: Box<dyn RequestHook>,
}
Expand description
A method call that has not been sent yet.
Fields
marker: PhantomData<(Params, Results)>
hook: Box<dyn RequestHook>
Implementations
Auto Trait Implementations
impl<Params, Results> !RefUnwindSafe for Request<Params, Results>
impl<Params, Results> !Send for Request<Params, Results>
impl<Params, Results> !Sync for Request<Params, Results>
impl<Params, Results> Unpin for Request<Params, Results> where
Params: Unpin,
Results: Unpin,
impl<Params, Results> !UnwindSafe for Request<Params, 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