Trait tiny_rpc::rpc::RpcServerStub [−][src]
The RpcServerStub
trait allows making responses for requests.
The implementation is usually generated by macro.
Required methods
fn make_response(
self: Arc<Self>,
req: I,
rsp_handler: ResponseHandler<O>
) -> Pin<Box<dyn Future<Output = ()> + Send>>
[src]
self: Arc<Self>,
req: I,
rsp_handler: ResponseHandler<O>
) -> Pin<Box<dyn Future<Output = ()> + Send>>