Struct multi_producer_sink::UnsyncDone [] [src]

pub struct UnsyncDone<S: Sink>(_);

A future that signals when the wrapped sink is done.

Yields back the wrapped sink in an Ok when the last handle is closed or dropped. Emits the first error and the wrapped sink as an Err if the sink errors.

Trait Implementations

impl<S: Sink> Future for UnsyncDone<S>
[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<S> Send for UnsyncDone<S> where
    S: Send,
    <S as Sink>::SinkError: Send

impl<S> Sync for UnsyncDone<S> where
    S: Send + Sync,
    <S as Sink>::SinkError: Send + Sync