Struct bmrng::ResponseReceiver [−][src]
pub struct ResponseReceiver<Res> { /* fields omitted */ }
Expand description
Receive responses from a Responder
Instances are created by calling RequestSender::send_receive()
or RequestSender::send()
Implementations
Receives the next value for this receiver.
If there is a timeout_duration
set, and the sender takes longer than
the timeout_duration to send the response, it aborts waiting and returns
ReceiveError::TimeoutError
.