Struct amadeus_core::par_sink::IntoReducerAsync [−][src]
pub struct IntoReducerAsync<R, T>(_, _);
Trait Implementations
impl<R: Sink<Item>, T, Item> Sink<Item> for IntoReducerAsync<R, T> where
R::Done: Into<T>,
[src]
impl<R: Sink<Item>, T, Item> Sink<Item> for IntoReducerAsync<R, T> where
R::Done: Into<T>,
[src]type Done = T
fn poll_forward(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
stream: Pin<&mut impl Stream<Item = Item>>
) -> Poll<Self::Done>
[src]
fn poll_forward(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
stream: Pin<&mut impl Stream<Item = Item>>
) -> Poll<Self::Done>
[src]Returns Poll::Ready
when a) it can’t accept any more elements from stream
and b) all
accepted elements have been fully processed. By convention, stream
yielding None
typically triggers (a). Read more
fn send(&mut self, item: Item) -> Send<'_, Self, Item>ⓘ where
Self: Unpin,
[src]
Self: Unpin,
fn send_all<'a, S: ?Sized>(
&'a mut self,
items: &'a mut S
) -> SendAll<'a, Self, S>ⓘ where
S: Stream<Item = Item> + Unpin,
Self: Unpin,
[src]
&'a mut self,
items: &'a mut S
) -> SendAll<'a, Self, S>ⓘ where
S: Stream<Item = Item> + Unpin,
Self: Unpin,
fn done(&mut self) -> Done<'_, Self, Item>ⓘ where
Self: Unpin,
[src]
Self: Unpin,
impl<'pin, R, T> Unpin for IntoReducerAsync<R, T> where
__IntoReducerAsync<'pin, R, T>: Unpin,
[src]
__IntoReducerAsync<'pin, R, T>: Unpin,
impl<R, T> UnsafeUnpin for IntoReducerAsync<R, T>
[src]
Auto Trait Implementations
impl<R, T> RefUnwindSafe for IntoReducerAsync<R, T> where
R: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, T> Send for IntoReducerAsync<R, T> where
R: Send,
R: Send,
impl<R, T> Sync for IntoReducerAsync<R, T> where
R: Sync,
R: Sync,
impl<R, T> UnwindSafe for IntoReducerAsync<R, T> where
R: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,