[][src]Struct futures_util::sink::Send

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

Future for the Sink::send combinator, which sends a value to a sink and then waits until the sink has fully flushed.

Trait Implementations

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

Formats the value using the given formatter. Read more

impl<Si: Sink + Unpin + ?Sized, '_> Unpin for Send<'_, Si>
[src]

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

impl<'a, Si: ?Sized> Sync for Send<'a, Si> where
    Si: Sync,
    <Si as Sink>::SinkItem: Sync