Struct amadeus_core::par_sink::PushReducerAsync [−][src]
pub struct PushReducerAsync<Item, T = Item>(_, _);
Trait Implementations
impl<Item, T> PinnedDrop for PushReducerAsync<Item, T>
[src]
impl<Item, T> PinnedDrop for PushReducerAsync<Item, T>
[src]impl<Item, T: Extend<Item>> Sink<Item> for PushReducerAsync<Item, T>
[src]
impl<Item, T: Extend<Item>> Sink<Item> for PushReducerAsync<Item, 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, Item, T> Unpin for PushReducerAsync<Item, T> where
__PushReducerAsync<'pin, Item, T>: Unpin,
[src]
__PushReducerAsync<'pin, Item, T>: Unpin,
impl<Item, T> UnsafeUnpin for PushReducerAsync<Item, T>
[src]
Auto Trait Implementations
impl<Item, T> RefUnwindSafe for PushReducerAsync<Item, T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<Item, T> Send for PushReducerAsync<Item, T> where
T: Send,
T: Send,
impl<Item, T> Sync for PushReducerAsync<Item, T> where
T: Sync,
T: Sync,
impl<Item, T> UnwindSafe for PushReducerAsync<Item, T> where
T: UnwindSafe,
T: 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>,