Trait quic_rpc_utils::ServiceEndpoint

source ·
pub trait ServiceEndpoint<S>: ServerEndpoint<<S as Service>::Req, <S as Service>::Res>
where S: Service,
{ }
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, S> ServiceEndpoint<S> for T
where T: ServerEndpoint<<S as Service>::Req, <S as Service>::Res>, S: Service,