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> Debug for Close<A> where
    A: Debug
[src]

[src]

Formats the value using the given formatter. Read more

impl<A> Future for Close<A> where
    A: AsyncWrite
[src]

A successful value

An 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

Auto Trait Implementations

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

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