Trait quic_rpc_utils::GetServiceHandler
source · pub trait GetServiceHandler<T: Service> {
// Required method
fn get_handler(self: Arc<Self>) -> Arc<T>;
}Expand description
获取特定服务的处理程序
pub trait GetServiceHandler<T: Service> {
// Required method
fn get_handler(self: Arc<Self>) -> Arc<T>;
}获取特定服务的处理程序