Struct futures::io::Close
[−]
[src]
pub struct Close<A> { /* fields omitted */ }
A future used to fully close an I/O object.
Resolves to the underlying I/O object once the close operation is complete.
Created by the close
function.
Trait Implementations
impl<A> Future for Close<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 Close<A> where
A: Debug,
[src]
A: Debug,