[][src]Module bmrng::unbounded

The unbounded channel alternative

Structs

ResponseReceiver

Receive responses from a UnboundedResponder

UnboundedRequestReceiver

Receive requests values from the associated UnboundedRequestSender

UnboundedRequestSender

Send values to the associated UnboundedRequestReceiver.

UnboundedResponder

Send values back to the UnboundedRequestSender or UnboundedRequestReceiver

Functions

channel

Creates an unbounded mpsc request-response channel for communicating between asynchronous tasks without backpressure.

Type Definitions

Payload

The internal data sent in the MPSC request channel, a tuple that contains the request and the oneshot response channel responder