Struct futures::sink::Close[][src]

#[must_use = "futures do nothing unless polled"]
pub struct Close<'a, Si> where
    Si: 'a + Unpin + ?Sized
{ /* fields omitted */ }

Future for the close combinator, which polls the sink until all data has been closed.

Trait Implementations

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

Formats the value using the given formatter. Read more

impl<'a, Si> Future for Close<'a, Si> where
    Si: Unpin + Sink + ?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, Si: ?Sized> Send for Close<'a, Si> where
    Si: Send

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