Struct packet_stream::PsIn [] [src]

pub struct PsIn<R: AsyncRead, W, B>(_);

A stream of incoming requests from the peer.

Trait Implementations

impl<R: AsyncRead, W: AsyncWrite, B: AsRef<[u8]>> Stream for PsIn<R, W, B>
[src]

The payload of the packet that triggered this emission, the metadata of the packet, and a way of interacting with the peer.

Errors yielded by the stream.

[src]

Attempt to pull out the next value of this stream, registering the current task for wakeup if the value is not yet available, and returning None if the stream is exhausted. Read more

Auto Trait Implementations

impl<R, W, B> !Send for PsIn<R, W, B>

impl<R, W, B> !Sync for PsIn<R, W, B>