[−][src]Trait amadeus::par_stream::StreamTask
Associated Types
type Item
type Async: StreamTaskAsync
Required methods
fn into_async(self) -> Self::Async
Implementations on Foreign Types
impl<A, B> StreamTask for Sum2<A, B> where
A: StreamTask,
B: StreamTask<Item = <A as StreamTask>::Item>,
[src]
A: StreamTask,
B: StreamTask<Item = <A as StreamTask>::Item>,
type Item = <A as StreamTask>::Item
type Async = Sum2<<A as StreamTask>::Async, <B as StreamTask>::Async>
fn into_async(self) -> <Sum2<A, B> as StreamTask>::Async
[src]
Implementors
impl StreamTask for Never
[src]
impl<A, B> StreamTask for ChainTask<A, B> where
A: StreamTask,
B: StreamTask<Item = <A as StreamTask>::Item>,
[src]
A: StreamTask,
B: StreamTask<Item = <A as StreamTask>::Item>,
type Item = <A as StreamTask>::Item
type Async = ChainTask<<A as StreamTask>::Async, <B as StreamTask>::Async>
fn into_async(self) -> <ChainTask<A, B> as StreamTask>::Async
[src]
impl<C, F> StreamTask for InspectTask<C, F> where
C: StreamTask,
F: FnMut(&<C as StreamTask>::Item) + Clone,
[src]
C: StreamTask,
F: FnMut(&<C as StreamTask>::Item) + Clone,
type Item = <C as StreamTask>::Item
type Async = InspectTask<<C as StreamTask>::Async, F>
fn into_async(self) -> <InspectTask<C, F> as StreamTask>::Async
[src]
impl<C, F> StreamTask for UpdateTask<C, F> where
C: StreamTask,
F: FnMut(&mut <C as StreamTask>::Item) + Clone,
[src]
C: StreamTask,
F: FnMut(&mut <C as StreamTask>::Item) + Clone,
type Item = <C as StreamTask>::Item
type Async = UpdateTask<<C as StreamTask>::Async, F>
fn into_async(self) -> <UpdateTask<C, F> as StreamTask>::Async
[src]
impl<C, F, Fut> StreamTask for FilterTask<C, F> where
C: StreamTask,
F: FnMut(&<C as StreamTask>::Item) -> Fut + Clone,
Fut: Future<Output = bool>,
[src]
C: StreamTask,
F: FnMut(&<C as StreamTask>::Item) -> Fut + Clone,
Fut: Future<Output = bool>,
type Item = <C as StreamTask>::Item
type Async = FilterStreamTaskAsync<<C as StreamTask>::Async, F, <FilterTask<C, F> as StreamTask>::Item, Fut>
fn into_async(self) -> <FilterTask<C, F> as StreamTask>::Async
[src]
impl<C, F, R> StreamTask for FlatMapTask<C, F> where
C: StreamTask,
F: Clone + FnMut(<C as StreamTask>::Item) -> R,
R: Stream,
[src]
C: StreamTask,
F: Clone + FnMut(<C as StreamTask>::Item) -> R,
R: Stream,
type Item = <R as Stream>::Item
type Async = FlatMapStreamTaskAsync<<C as StreamTask>::Async, F, R>
fn into_async(self) -> <FlatMapTask<C, F> as StreamTask>::Async
[src]
impl<C, F, R> StreamTask for MapTask<C, F> where
C: StreamTask,
F: FnMut(<C as StreamTask>::Item) -> R + Clone,
[src]
C: StreamTask,
F: FnMut(<C as StreamTask>::Item) -> R + Clone,
type Item = R
type Async = MapTask<<C as StreamTask>::Async, F>
fn into_async(self) -> <MapTask<C, F> as StreamTask>::Async
[src]
impl<I, T, E, U> StreamTask for IntoTask<I, U> where
I: StreamTask<Item = Result<T, E>>,
T: Into<U>,
[src]
I: StreamTask<Item = Result<T, E>>,
T: Into<U>,