Module radiorust::sync::broadcast_bp
source · Expand description
Asynchronous broadcast channel with backpressure
A channel can be created by calling the channel
function, which returns
a Sender
and an Enlister
. To create a Receiver
, use
Enlister::subscribe
.
The channel has a fixed capacity of 1
.
Structs
Receiver for broadcast channel with backpressure
Error returned by
Receiver::recv
if there are no sendersSender for broadcast channel with backpressure