quic_rpc::server

Trait ChannelTypes

Source
pub trait ChannelTypes<S: Service>: StreamTypes<In = S::Req, Out = S::Res> { }
Expand description

Stream types on the server side

On the server side, we receive requests and send responses. On the client side, we send requests and receive responses.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: StreamTypes<In = S::Req, Out = S::Res>, S: Service> ChannelTypes<S> for T