Struct ckb_notify::Request
source · [−]pub struct Request<A, R> {
pub responder: Sender<R>,
pub arguments: A,
}Expand description
Asynchronous request sent to the service.
Fields
responder: Sender<R>Oneshot channel for the service to send back the response.
arguments: ARequest 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>where
A: Sync,
R: Send,
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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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