Struct muxrpc::RpcStream [] [src]

pub struct RpcStream<R: AsyncRead, I, E> { /* fields omitted */ }

A stream from the peer.

I is the type of the emitted items, E is the type of the errors the peer can send.

Trait Implementations

impl<R: AsyncRead, I: DeserializeOwned, E: DeserializeOwned> Stream for RpcStream<R, I, E>
[src]

Values yielded by the stream.

A ConnectionRpcError::InvalidData is non-fatal and polling the stream may be safely continued.

[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, I, E> !Send for RpcStream<R, I, E>

impl<R, I, E> !Sync for RpcStream<R, I, E>