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.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.