Struct packet_stream::ClosePs
[−]
[src]
pub struct ClosePs<R: AsyncRead, W, B>(_);
Future for closing the packet-stream, indicating that no more packets will be sent.
This does not immediately close if there are still unfinished
Request
s, PeerResponse
s or PsSink
s. In that case, the closing
happens when the last of them finishes.
The error contains a None
if an Request
, PeerResponse
or
PsSink
errored previously.