Struct amadeus_core::pipe::PipeSink [−][src]
pub struct PipeSink<P, S> { /* fields omitted */ }
Trait Implementations
impl<P, S, Item> Sink<Item> for PipeSink<P, S> where
P: Pipe<Item>,
S: Sink<P::Output>,
[src]
impl<P, S, Item> Sink<Item> for PipeSink<P, S> where
P: Pipe<Item>,
S: Sink<P::Output>,
[src]type Done = S::Done
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, P, S> Unpin for PipeSink<P, S> where
__PipeSink<'pin, P, S>: Unpin,
[src]
__PipeSink<'pin, P, S>: Unpin,
impl<P, S> UnsafeUnpin for PipeSink<P, S>
[src]
Auto Trait Implementations
impl<P, S> RefUnwindSafe for PipeSink<P, S> where
P: RefUnwindSafe,
S: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for PipeSink<P, S> where
P: Send,
S: Send,
P: Send,
S: Send,
impl<P, S> Sync for PipeSink<P, S> where
P: Sync,
S: Sync,
P: Sync,
S: Sync,
impl<P, S> UnwindSafe for PipeSink<P, S> where
P: UnwindSafe,
S: UnwindSafe,
P: UnwindSafe,
S: 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>,