pub trait Transport: Stream<Item = Result<RpcMessage, Error>> + Sink<RpcMessage, Error = Error> { }
Expand description
A trait alias for a protocol transport.
A transport is an active connection that can be used to send and receive
RpcMessage
s.
pub trait Transport: Stream<Item = Result<RpcMessage, Error>> + Sink<RpcMessage, Error = Error> { }
A trait alias for a protocol transport.
A transport is an active connection that can be used to send and receive
RpcMessage
s.