Struct futures_util::io::Flush [−][src]
pub struct Flush<'a, W: ?Sized + 'a> { /* fields omitted */ }
A future used to fully flush an I/O object.
Resolves to the underlying I/O object once the flush operation is complete.
Created by the flush function.
Trait Implementations
impl<'a, W: Debug + ?Sized + 'a> Debug for Flush<'a, W>[src]
impl<'a, W: Debug + ?Sized + 'a> Debug for Flush<'a, W>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, W: ?Sized> Unpin for Flush<'a, W>[src]
impl<'a, W: ?Sized> Unpin for Flush<'a, W>impl<'a, W: ?Sized> Future for Flush<'a, W> where
W: AsyncWrite, [src]
impl<'a, W: ?Sized> Future for Flush<'a, W> where
W: AsyncWrite, type Output = Result<()>
🔬 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