Struct bmrng::RequestSender [−][src]
pub struct RequestSender<Req, Res> { /* fields omitted */ }
Expand description
Send values to the associated RequestReceiver
.
Implementations
Send a request over the MPSC channel, open the response channel
Return the ResponseReceiver
which can be used to wait for a response
This call waits if the request channel is full. It does not wait for a response
Send a request over the MPSC channel, wait for the response and return it
This call waits if the request channel is full, and while waiting for the response
Trait Implementations
Auto Trait Implementations
impl<Req, Res> !RefUnwindSafe for RequestSender<Req, Res>
impl<Req, Res> Send for RequestSender<Req, Res> where
Req: Send,
Res: Send,
impl<Req, Res> Sync for RequestSender<Req, Res> where
Req: Send,
Res: Send,
impl<Req, Res> Unpin for RequestSender<Req, Res>
impl<Req, Res> !UnwindSafe for RequestSender<Req, Res>
Blanket Implementations
Mutably borrows from an owned value. Read more