Trait quic_rpc::ServiceEndpoint

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

A server endpoint for a specific service

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

This can be used to create a RpcServer that can be used to handle requests.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: ServerEndpoint<S::Req, S::Res>, S: Service> ServiceEndpoint<S> for T