pub trait RpcMsg<S: Service>: Into<S::Req> + TryFrom<S::Req> + Send + 'static {
type Response: Into<S::Res> + TryFrom<S::Res> + Send + 'static;
}
Expand description
Shortcut to define just the return type for the very common RPC interaction pattern