Struct tokio_stream::wrappers::BroadcastStream
source · pub struct BroadcastStream<T> { /* private fields */ }
Expand description
A wrapper around tokio::sync::broadcast::Receiver
that implements Stream
.
Implementations§
Trait Implementations§
source§impl<T> Debug for BroadcastStream<T>
impl<T> Debug for BroadcastStream<T>
source§impl<T: 'static + Clone + Send> Stream for BroadcastStream<T>
impl<T: 'static + Clone + Send> Stream for BroadcastStream<T>
§type Item = Result<T, BroadcastStreamRecvError>
type Item = Result<T, BroadcastStreamRecvError>
Values yielded by the stream.