pub struct Request<A, R> {
pub responder: Sender<R>,
pub arguments: A,
}
Expand description
Synchronous request sent to the service.
Fields
responder: Sender<R>
One shot channel for the service to send back the response.
arguments: A
Request arguments.
Implementations
Auto Trait Implementations
impl<A, R> !RefUnwindSafe for Request<A, R>
impl<A, R> Send for Request<A, R> where
A: Send,
R: Send,
impl<A, R> !Sync for Request<A, R>
impl<A, R> Unpin for Request<A, R> where
A: Unpin,
impl<A, R> !UnwindSafe for Request<A, R>
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