Function nebula_fbthrift_raftex_v2::server::make_RaftexService_server [−][src]
pub fn make_RaftexService_server<F, H, R>(
proto: ProtocolID,
handler: H
) -> Result<Box<dyn ThriftService<F, Handler = H, RequestContext = R> + Send + 'static>, ApplicationException> where
F: Framing + Send + Sync + 'static,
H: RaftexService,
R: RequestContext<Name = ConstCStr> + Send + Sync + 'static,
<R as RequestContext>::ContextStack: ContextStack + Send + Sync + 'static,