Trait cubist_proxy::Pair
source · pub trait Pair<S, R = S, E = JsonRpcErr>: Stream<Item = Result<R, E>> + Sink<Result<S, E>, Error = FatalErr> + Send { }
Expand description
A Sink/Stream pair in an RPC muxing pipeline
pub trait Pair<S, R = S, E = JsonRpcErr>: Stream<Item = Result<R, E>> + Sink<Result<S, E>, Error = FatalErr> + Send { }
A Sink/Stream pair in an RPC muxing pipeline