Struct packet_stream::PsStream [] [src]

pub struct PsStream<R: AsyncRead> { /* fields omitted */ }

The stream half of a duplex multiplexed over the packet-stream.

Trait Implementations

impl<R: AsyncRead> Stream for PsStream<R>
[src]

Note that the stream never emits Ok(None).

Values yielded by the stream.

If the peer closes the packet-stream, this emits a ConnectionError::Closed. If an error happens/happened on the underlying AsyncRead, this emits a ConnectionError::Errored.

[src]

Note that the stream never emits Ok(None).

Auto Trait Implementations

impl<R> !Send for PsStream<R>

impl<R> !Sync for PsStream<R>