Struct futures_util::io::Flush [] [src]

pub struct Flush<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: Debug> Debug for Flush<A>


Formats the value using the given formatter. Read more

impl<A> Future for Flush<A> where
    A: AsyncWrite

A successful value

An error


Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<A> Send for Flush<A> where
    A: Send

impl<A> Sync for Flush<A> where
    A: Sync