Struct quic_rpc::transport::quinn::ClientChannel
source · pub struct ClientChannel<In: RpcMessage, Out: RpcMessage>(_, _);
Expand description
A server channel using a quinn connection
Implementations§
source§impl<In: RpcMessage, Out: RpcMessage> ClientChannel<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ClientChannel<In, Out>
sourcepub fn new(conn: Connection) -> Self
pub fn new(conn: Connection) -> Self
Create a new channel
Trait Implementations§
source§impl<In: RpcMessage + Sync, Out: RpcMessage + Sync> ClientChannel<In, Out, ChannelTypes> for ClientChannel<In, Out>
impl<In: RpcMessage + Sync, Out: RpcMessage + Sync> ClientChannel<In, Out, ChannelTypes> for ClientChannel<In, Out>
source§fn open_bi(&self) -> OpenBiFuture<'_, In, Out> ⓘ
fn open_bi(&self) -> OpenBiFuture<'_, In, Out> ⓘ
Open a bidirectional stream