Struct futures_util::sink::SendAll [−][src]
#[must_use = "futures do nothing unless polled"]pub struct SendAll<'a, Si: ?Sized, St: ?Sized> where
Si: Sink + Unpin + 'a,
St: Stream + Unpin + 'a, { /* fields omitted */ }
Future for the Sink::send_all
combinator, which sends a stream of values
to a sink and then waits until the sink has fully flushed those values.
Trait Implementations
impl<'a, Si: Debug + ?Sized, St: Debug + ?Sized> Debug for SendAll<'a, Si, St> where
Si: Sink + Unpin + 'a,
St: Stream + Unpin + 'a,
Si::SinkItem: Debug,
[src]
impl<'a, Si: Debug + ?Sized, St: Debug + ?Sized> Debug for SendAll<'a, Si, St> where
Si: Sink + Unpin + 'a,
St: Stream + Unpin + 'a,
Si::SinkItem: Debug,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a, Si: ?Sized, St: ?Sized> Unpin for SendAll<'a, Si, St> where
Si: Sink + Unpin + 'a,
St: Stream + Unpin + 'a,
[src]
impl<'a, Si: ?Sized, St: ?Sized> Unpin for SendAll<'a, Si, St> where
Si: Sink + Unpin + 'a,
St: Stream + Unpin + 'a,
impl<'a, Si: ?Sized, St: ?Sized> Future for SendAll<'a, Si, St> where
Si: Sink + Unpin + 'a,
St: Stream<Item = Si::SinkItem> + Unpin + 'a,
[src]
impl<'a, Si: ?Sized, St: ?Sized> Future for SendAll<'a, Si, St> where
Si: Sink + Unpin + 'a,
St: Stream<Item = Si::SinkItem> + Unpin + 'a,
type Output = Result<(), Si::SinkError>
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
The result of the Future
.
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
[src]
fn poll(self: PinMut<Self>, cx: &mut Context) -> Poll<Self::Output>
🔬 This is a nightly-only experimental API. (futures_api
)
futures in libcore are unstable
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more