Struct packet_stream::Done [] [src]

pub struct Done<W, B>(_);

A future that emits the wrapped writer of a packet-stream once the outgoing half of the stream has been fully closed, it has errored, or once all references to it have been dropped.

Trait Implementations

impl<W, B> Future for Done<W, B>
[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<W, B> Send for Done<W, B> where
    B: Send,
    W: Send

impl<W, B> Sync for Done<W, B> where
    B: Send + Sync,
    W: Send + Sync