Struct futures::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> Future for Flush<A> where
A: AsyncWrite,
[src]
A: AsyncWrite,
type Item = A
A successful value
type Error = Error
An error
fn poll(&mut self, cx: &mut Context) -> Result<Async<A>, Error>
[src]
Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more
impl<A> Debug for Flush<A> where
A: Debug,
[src]
A: Debug,