Enum packet_stream::IncomingPacket [] [src]

pub enum IncomingPacket<R: AsyncRead, W: AsyncWrite, B: AsRef<[u8]>> {
    Request(InRequest<W, B>),
    Duplex(DecodedPacketPsSink<W, B>, PsStream<R>),
}

An incoming packet, initiated by the peer.

Variants

An incoming request.

A duplex connection initiated by the peer.