Struct packet_stream::PeerResponse [] [src]

pub struct PeerResponse<W: AsyncWrite, B: AsRef<[u8]>>(_);

Future that completes when the response has been sent to the peer.

Trait Implementations

impl<W: AsyncWrite, B: AsRef<[u8]>> Future for PeerResponse<W, B>
[src]

A successful value

The error contains a None if an Request, PeerResponse or PsSink errored previously.

[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 PeerResponse<W, B>

impl<W, B> !Sync for PeerResponse<W, B>