[−][src]Trait amadeus_core::par_stream::StreamTaskAsync
Associated Types
type Item
Required methods
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
Implementations on Foreign Types
impl<A: StreamTaskAsync, B: StreamTaskAsync<Item = A::Item>> StreamTaskAsync for Sum2<A, B>[src]
type Item = A::Item
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
impl<P> StreamTaskAsync for Pin<P> where
P: DerefMut + Unpin,
P::Target: StreamTaskAsync, [src]
P: DerefMut + Unpin,
P::Target: StreamTaskAsync,
type Item = <P::Target as StreamTaskAsync>::Item
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
impl<'_, T: ?Sized> StreamTaskAsync for &'_ mut T where
T: StreamTaskAsync + Unpin, [src]
T: StreamTaskAsync + Unpin,
type Item = T::Item
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
Implementors
impl StreamTaskAsync for Never[src]
type Item = Self
fn poll_run(
self: Pin<&mut Self>,
_cx: &mut Context,
_sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
_cx: &mut Context,
_sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
impl<A: StreamTaskAsync, B: StreamTaskAsync<Item = A::Item>> StreamTaskAsync for ChainTask<A, B>[src]
type Item = A::Item
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
impl<C: StreamTaskAsync, F> StreamTaskAsync for InspectTask<C, F> where
F: FnMut(&C::Item) + Clone, [src]
F: FnMut(&C::Item) + Clone,
type Item = C::Item
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
impl<C: StreamTaskAsync, F> StreamTaskAsync for UpdateTask<C, F> where
F: FnMut(&mut C::Item) + Clone, [src]
F: FnMut(&mut C::Item) + Clone,
type Item = C::Item
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
impl<C: StreamTaskAsync, F, Fut> StreamTaskAsync for FilterStreamTaskAsync<C, F, C::Item, Fut> where
F: FnMut(&C::Item) -> Fut + Clone,
Fut: Future<Output = bool>, [src]
F: FnMut(&C::Item) -> Fut + Clone,
Fut: Future<Output = bool>,
type Item = C::Item
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
impl<C: StreamTaskAsync, F, R> StreamTaskAsync for MapTask<C, F> where
F: FnMut(C::Item) -> R + Clone, [src]
F: FnMut(C::Item) -> R + Clone,
type Item = R
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>
impl<C: StreamTaskAsync, F: FnMut(C::Item) -> R + Clone, R: Stream> StreamTaskAsync for FlatMapStreamTaskAsync<C, F, R>[src]
type Item = R::Item
fn poll_run(
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>[src]
self: Pin<&mut Self>,
cx: &mut Context,
sink: Pin<&mut impl Sink<Item = Self::Item>>
) -> Poll<()>