Trait quic_rpc::ServiceConnection

source ·
pub trait ServiceConnection<S: Service>: Connection<S::Res, S::Req> { }
Expand description

A connection to a specific service on a specific remote machine

This is just a trait alias for a Connection with the right types.

This can be used to create a RpcClient that can be used to send requests.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Connection<S::Res, S::Req>, S: Service> ServiceConnection<S> for T