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> Freeze for Request<A, R>where
A: Freeze,
impl<A, R> RefUnwindSafe for Request<A, R>where
A: RefUnwindSafe,
impl<A, R> Send for Request<A, R>
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>where
A: UnwindSafe,
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