Trait quic_rpc::ClientChannel
source · pub trait ClientChannel<In: RpcMessage, Out: RpcMessage, T: ChannelTypes>: Debug + Clone + Send + Sync + 'static {
fn open_bi(&self) -> T::OpenBiFuture<'_, In, Out>;
}
Expand description
An abstract client channel with typed input and output
Required Methods§
sourcefn open_bi(&self) -> T::OpenBiFuture<'_, In, Out>
fn open_bi(&self) -> T::OpenBiFuture<'_, In, Out>
Open a bidirectional stream