pub type GossipSubscription = OutboundSubscription<Gossip>;

Aliased Type§

struct GossipSubscription {
    inner: Receiver<Gossip>,
}

Fields§

§inner: Receiver<Gossip>

Trait Implementations§

source§

impl<T> Stream for OutboundSubscription<T>

§

type Item = T

Values yielded by the stream.
source§

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

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
§

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

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