Struct packet_stream::Request
[−]
[src]
pub struct Request<W: AsyncWrite, B: AsRef<[u8]>>(_);
An outgoing request, initated by this packet-stream.
Poll it to actually start sending the request.
Trait Implementations
impl<W: AsyncWrite, B: AsRef<[u8]>> Future for Request<W, B>
[src]
type Item = ()
A successful value
type Error = Option<IoError>
The error contains a None
if an Request
, PeerResponse
or
PsSink
errored previously.
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