Struct quic_rpc::transport::http2::ChannelTypes
source · pub struct ChannelTypes;
Expand description
Http2 channel types
Trait Implementations§
source§impl ChannelTypes for ChannelTypes
impl ChannelTypes for ChannelTypes
§type SendSink<M: RpcMessage> = SendSink<M>
type SendSink<M: RpcMessage> = SendSink<M>
The sink used for sending either requests or responses on this channel
§type RecvStream<M: RpcMessage> = RecvStream<M>
type RecvStream<M: RpcMessage> = RecvStream<M>
The stream used for receiving either requests or responses on this channel
§type OpenBiError = OpenBiError
type OpenBiError = OpenBiError
Error you might get when opening a new connection to the server
§type OpenBiFuture<'a, In: RpcMessage, Out: RpcMessage> = OpenBiFuture<'a, In, Out>
type OpenBiFuture<'a, In: RpcMessage, Out: RpcMessage> = OpenBiFuture<'a, In, Out>
Future returned by open_bi
§type AcceptBiError = AcceptBiError
type AcceptBiError = AcceptBiError
Error you might get when waiting for new streams on the server side
§type AcceptBiFuture<'a, In: RpcMessage, Out: RpcMessage> = AcceptBiFuture<'a, In, Out>
type AcceptBiFuture<'a, In: RpcMessage, Out: RpcMessage> = AcceptBiFuture<'a, In, Out>
Future returned by accept_bi
§type ClientChannel<In: RpcMessage, Out: RpcMessage> = ClientChannel<In, Out>
type ClientChannel<In: RpcMessage, Out: RpcMessage> = ClientChannel<In, Out>
Channel type
§type ServerChannel<In: RpcMessage, Out: RpcMessage> = ServerChannel<In, Out>
type ServerChannel<In: RpcMessage, Out: RpcMessage> = ServerChannel<In, Out>
Channel type
source§impl<In, Out> ClientChannel<In, Out, ChannelTypes> for ClientChannel<In, Out>where
In: RpcMessage,
Out: RpcMessage,
impl<In, Out> ClientChannel<In, Out, ChannelTypes> for ClientChannel<In, Out>where
In: RpcMessage,
Out: RpcMessage,
source§fn open_bi(&self) -> OpenBiFuture<'_, In, Out> ⓘ
fn open_bi(&self) -> OpenBiFuture<'_, In, Out> ⓘ
Open a bidirectional stream
source§impl Clone for ChannelTypes
impl Clone for ChannelTypes
source§fn clone(&self) -> ChannelTypes
fn clone(&self) -> ChannelTypes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ChannelTypes
impl Debug for ChannelTypes
source§impl<In: RpcMessage, Out: RpcMessage> ServerChannel<In, Out, ChannelTypes> for ServerChannel<In, Out>
impl<In: RpcMessage, Out: RpcMessage> ServerChannel<In, Out, ChannelTypes> for ServerChannel<In, Out>
source§fn accept_bi(&self) -> AcceptBiFuture<'_, In, Out> ⓘ
fn accept_bi(&self) -> AcceptBiFuture<'_, In, Out> ⓘ
Accept a bidirectional stream
source§fn local_addr(&self) -> &[LocalAddr]
fn local_addr(&self) -> &[LocalAddr]
The local addresses this server is bound to. Read more