Struct ordered_stream::JoinMultiple [−][src]
pub struct JoinMultiple<C>(pub C);
Expand description
Join a collection of OrderedStream
s.
This is similar to repeatedly using join()
on all the streams in the contained collection.
It is not optimized to avoid polling streams that are not ready, so it works best if the number
of streams is relatively small.
Tuple Fields
0: C
Trait Implementations
Returns the “default value” for a type. Read more
impl<C, S> OrderedStream for JoinMultiple<C> where
for<'a> &'a mut C: IntoIterator<Item = &'a mut Peekable<S>>,
S: OrderedStream + Unpin,
impl<C, S> OrderedStream for JoinMultiple<C> where
for<'a> &'a mut C: IntoIterator<Item = &'a mut Peekable<S>>,
S: OrderedStream + Unpin,
Auto Trait Implementations
impl<C> RefUnwindSafe for JoinMultiple<C> where
C: RefUnwindSafe,
impl<C> Send for JoinMultiple<C> where
C: Send,
impl<C> Sync for JoinMultiple<C> where
C: Sync,
impl<C> UnwindSafe for JoinMultiple<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more