Trait tarpc::rpc::server::Serve [−][src]
Basically a Fn(Req) -> impl Future<Output = Resp>;
Associated Types
Loading content...Required methods
Loading content...Implementors
impl<Req, Resp, Fut, F> Serve<Req> for F where
F: FnOnce(Context, Req) -> Fut + Clone,
Fut: Future<Output = Resp>,
[src]
F: FnOnce(Context, Req) -> Fut + Clone,
Fut: Future<Output = Resp>,