Struct muxrpc::RpcIn
[−]
[src]
pub struct RpcIn<R: AsyncRead, W>(_);
A stream of incoming rpcs from the peer.
Trait Implementations
impl<R: AsyncRead, W: AsyncWrite> Stream for RpcIn<R, W>
[src]
type Item = (Box<[String]>, Box<[Value]>, IncomingRpc<R, W>)
Name(s) and args of the rpc, and a handle for reacting to the rpc
type Error = RpcError
Errors yielded by the stream.
fn poll_next(
&mut self,
cx: &mut Context
) -> Poll<Option<Self::Item>, Self::Error>
[src]
&mut self,
cx: &mut Context
) -> Poll<Option<Self::Item>, Self::Error>
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