Struct futures::io::Flush [−][src]
pub struct Flush<'a, W> where
W: 'a + ?Sized, { /* 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> Unpin for Flush<'a, W> where
W: ?Sized, [src]
impl<'a, W> Unpin for Flush<'a, W> where
W: ?Sized, impl<'a, W> Debug for Flush<'a, W> where
W: 'a + Debug + ?Sized, [src]
impl<'a, W> Debug for Flush<'a, W> where
W: 'a + Debug + ?Sized, fn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl<'a, W> Future for Flush<'a, W> where
W: AsyncWrite + ?Sized, [src]
impl<'a, W> Future for Flush<'a, W> where
W: AsyncWrite + ?Sized, type Output = Result<(), Error>
🔬 This is a nightly-only experimental API. (futures_api)
futures in libcore are unstable
The result of the Future.
fn poll(
self: PinMut<Flush<'a, W>>,
cx: &mut Context
) -> Poll<<Flush<'a, W> as Future>::Output>[src]
fn poll(
self: PinMut<Flush<'a, W>>,
cx: &mut Context
) -> Poll<<Flush<'a, W> as Future>::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