Struct ordered_stream::JoinMultiplePin [−][src]
pub struct JoinMultiplePin<C> {
pub streams: C,
}
Expand description
Join a collection of pinned OrderedStream
s.
This is identical to JoinMultiple
, but accepts OrderedStream
s that are not Unpin
by
requiring that the collection provide a pinned IntoIterator
implementation.
This is not a feature available in most std
collections. If you wish to use them, you
should use Box::pin
to make the stream Unpin
before inserting it in the collection,
and then use JoinMultiple
on the resulting collection.
Fields
streams: C
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
impl<C, S> OrderedStream for JoinMultiplePin<C> where
for<'a> Pin<&'a mut C>: IntoIterator<Item = Pin<&'a mut Peekable<S>>>,
S: OrderedStream,
impl<C, S> OrderedStream for JoinMultiplePin<C> where
for<'a> Pin<&'a mut C>: IntoIterator<Item = Pin<&'a mut Peekable<S>>>,
S: OrderedStream,
Auto Trait Implementations
impl<C> RefUnwindSafe for JoinMultiplePin<C> where
C: RefUnwindSafe,
impl<C> Send for JoinMultiplePin<C> where
C: Send,
impl<C> Sync for JoinMultiplePin<C> where
C: Sync,
impl<C> UnwindSafe for JoinMultiplePin<C> where
C: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more