Struct muxrpc::RpcSink [] [src]

pub struct RpcSink<W: AsyncWrite> { /* fields omitted */ }

A sink to the peer.

Trait Implementations

impl<W: AsyncWrite> Sink for RpcSink<W>
[src]

An Err is emitted as an error for the peer.

The type of value produced by the sink when an error occurs.

[src]

Attempts to prepare the Sink to receive a value. Read more

[src]

Begin the process of sending a value to the sink. Each call to this function must be proceeded by a successful call to poll_ready which returned Ok(Async::Ready(())). Read more

[src]

Flush any remaining output from this sink. Read more

[src]

Flush any remaining output and close this sink, if necessary. Read more

Auto Trait Implementations

impl<W> !Send for RpcSink<W>

impl<W> !Sync for RpcSink<W>