pub trait RpcService: Send + Sync + 'static {
    fn is_ready<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ReadyRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ReadyResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn get_pricing<'life0, 'async_trait>(
        &'life0 self,
        request: Request<PricingRequests>
    ) -> Pin<Box<dyn Future<Output = Result<Response<PricingResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with RpcServiceServer.

Required Methods§

Implementors§