Function quinn_channel

Source
pub fn quinn_channel<S: Service>() -> Result<(RpcServer<S, QuinnListener<S>>, RpcClient<S, QuinnConnector<S>>)>
Available on crate feature test-utils only.
Expand description

Create a pair of RpcServer and RpcClient for the given Service type using a quinn channel

This is using a network connection using the local network. It is useful for testing remote services in a more realistic way than the memory transport.