ordered_stream

Trait FusedOrderedStream

source
pub trait FusedOrderedStream: OrderedStream {
    // Required method
    fn is_terminated(&self) -> bool;
}
Expand description

An OrderedStream that tracks if the underlying stream should be polled.

Required Methods§

source

fn is_terminated(&self) -> bool

Returns true if the stream should no longer be polled.

Implementations on Foreign Types§

source§

impl<P> FusedOrderedStream for Pin<P>

source§

impl<S> FusedOrderedStream for Option<S>

Implementors§

source§

impl<A, B> FusedOrderedStream for Join<A, B>
where A: OrderedStream, B: OrderedStream<Data = A::Data, Ordering = A::Ordering>,

source§

impl<C, S> FusedOrderedStream for JoinMultiple<C>
where for<'a> &'a mut C: IntoIterator<Item = &'a mut Peekable<S>>, for<'a> &'a C: IntoIterator<Item = &'a Peekable<S>>, S: OrderedStream + Unpin, S::Ordering: Clone,

source§

impl<F: OrderedFuture> FusedOrderedStream for FromFuture<F>

source§

impl<S> FusedOrderedStream for FromSortedStream<S>
where S: FusedStream, S::Item: Ord,

source§

impl<S, F, Ordering, Data> FusedOrderedStream for FromStream<S, F, Ordering>
where S: FusedStream, F: FnMut(S::Item) -> (Ordering, Data), Ordering: Ord + Clone,

source§

impl<S, F, Ordering, Data> FusedOrderedStream for FromStreamDirect<S, F>
where S: FusedStream, F: FnMut(S::Item) -> (Ordering, Data), Ordering: Ord,

source§

impl<S: OrderedStream> FusedOrderedStream for Peekable<S>