Struct futures_util::sink::Send [−][src]
#[must_use = "futures do nothing unless polled"]pub struct Send<'a, Si: Sink + Unpin + 'a + ?Sized> { /* fields omitted */ }
Future for the Sink::send combinator, which sends a value to a sink and
then waits until the sink has fully flushed.
Trait Implementations
impl<'a, Si: Debug + Sink + Unpin + 'a + ?Sized> Debug for Send<'a, Si> where
Si::SinkItem: Debug, [src]
impl<'a, Si: Debug + Sink + Unpin + 'a + ?Sized> Debug for Send<'a, Si> where
Si::SinkItem: Debug, fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a, Si: Sink + Unpin + ?Sized> Unpin for Send<'a, Si>[src]
impl<'a, Si: Sink + Unpin + ?Sized> Unpin for Send<'a, Si>impl<'a, Si: Sink + Unpin + ?Sized> Future for Send<'a, Si>[src]
impl<'a, Si: Sink + Unpin + ?Sized> Future for Send<'a, Si>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