Struct muxrpc::Done
[−]
[src]
pub struct Done<W>(_);
A future that emits the wrapped writer of a muxrpc connection once the outgoing half of the has been fully closed.
Trait Implementations
impl<W> Future for Done<W>
[src]
type Item = W
A successful value
type Error = W
This can only be emitted if a handle to the underlying transport has been polled but was dropped before it was done. If all handles are polled/closed properly, this error is never emitted.
fn poll(&mut self, cx: &mut Context) -> Poll<Self::Item, Self::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