Struct canal::broadcast::Consumer
[−]
[src]
pub struct Consumer<T> { // some fields omitted }
Struct that receives messages from Broadcast.
Methods
impl<T> Consumer<T>
fn recv(&self) -> Result<T, BroadcastError<T>>
Receive a message from the Broadcast.
This function will block.