type HeaderStream = MessageQueue<Header>;

Aliased Type§

struct HeaderStream(Receiver<Header>);

Fields§

§0: Receiver<Header>

Trait Implementations§

source§

impl<Msg: Debug> Debug for MessageQueue<Msg>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<Msg> Stream for MessageQueue<Msg>

§

type Item = Msg

Values yielded by the stream.
source§

fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Msg>>

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more
source§

fn size_hint(&self) -> (usize, Option<usize>)

Returns the bounds on the remaining length of the stream. Read more