Struct futures_util::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> Debug for Close<A>


Formats the value using the given formatter. Read more

impl<A> Future for Close<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 Close<A> where
    A: Send

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