[−][src]Struct futures::stream::Merge
Deprecated:
functionality provided by select
now
An adapter for merging the output of two streams.
The merged stream produces items from one or both of the underlying streams as they become available. Errors, however, are not merged: you get at most one error at a time.
Trait Implementations
impl<S1: Debug, S2: Debug + Stream> Debug for Merge<S1, S2> where
S2::Error: Debug,
[src][+]
S2::Error: Debug,
impl<S1, S2> Stream for Merge<S1, S2> where
S1: Stream,
S2: Stream<Error = S1::Error>,
[src][+]
S1: Stream,
S2: Stream<Error = S1::Error>,
Auto Trait Implementations
impl<S1, S2> RefUnwindSafe for Merge<S1, S2> where
S1: RefUnwindSafe,
S2: RefUnwindSafe,
<S2 as Stream>::Error: RefUnwindSafe,
S1: RefUnwindSafe,
S2: RefUnwindSafe,
<S2 as Stream>::Error: RefUnwindSafe,
impl<S1, S2> Send for Merge<S1, S2> where
S1: Send,
S2: Send,
<S2 as Stream>::Error: Send,
S1: Send,
S2: Send,
<S2 as Stream>::Error: Send,
impl<S1, S2> Sync for Merge<S1, S2> where
S1: Sync,
S2: Sync,
<S2 as Stream>::Error: Sync,
S1: Sync,
S2: Sync,
<S2 as Stream>::Error: Sync,
impl<S1, S2> Unpin for Merge<S1, S2> where
S1: Unpin,
S2: Unpin,
<S2 as Stream>::Error: Unpin,
S1: Unpin,
S2: Unpin,
<S2 as Stream>::Error: Unpin,
impl<S1, S2> UnwindSafe for Merge<S1, S2> where
S1: UnwindSafe,
S2: UnwindSafe,
<S2 as Stream>::Error: UnwindSafe,
S1: UnwindSafe,
S2: UnwindSafe,
<S2 as Stream>::Error: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,