Struct futures::io::Close[][src]

pub struct Close<'a, W> where
    W: 'a + ?Sized
{ /* fields omitted */ }

A future used to fully close an I/O object.

Created by the close function.

Trait Implementations

impl<'a, W> Unpin for Close<'a, W> where
    W: ?Sized
[src]

impl<'a, W> Debug for Close<'a, W> where
    W: 'a + Debug + ?Sized
[src]

Formats the value using the given formatter. Read more

impl<'a, W> Future for Close<'a, W> where
    W: AsyncWrite + ?Sized
[src]

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

The result of the Future.

🔬 This is a nightly-only experimental API. (futures_api)

futures in libcore are unstable

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, W: ?Sized> Send for Close<'a, W> where
    W: Send

impl<'a, W: ?Sized> Sync for Close<'a, W> where
    W: Sync