Struct packet_stream::Response [] [src]

pub struct Response<R: AsyncRead>(_);

A response that will be received from the peer.

Trait Implementations

impl<R: AsyncRead> Future for Response<R>
[src]

A successful value

If the peer closes the packet-stream, this emits a ConnectionError::Closed. If an error happens/happened on the underlying AsyncRead, this emits a ConnectionError::Errored.

[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<R> !Send for Response<R>

impl<R> !Sync for Response<R>