Enum packet_stream::IncomingPacket
[−]
[src]
pub enum IncomingPacket<R: AsyncRead, W: AsyncWrite, B: AsRef<[u8]>> { Request(InRequest<W, B>), Duplex(DecodedPacket, PsSink<W, B>, PsStream<R>), }
An incoming packet, initiated by the peer.
Variants
Request(InRequest<W, B>)
An incoming request.
Duplex(DecodedPacket, PsSink<W, B>, PsStream<R>)
A duplex connection initiated by the peer.