pub trait CardOrderer:
    Send
    + Sync
    + 'static {
    // Required method
    fn order<'life0, 'async_trait>(
        &'life0 self,
        request: Request<OrderRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<OrderReply>, Status>> + Send + 'async_trait>>
       where 'life0: 'async_trait,
             Self: 'async_trait;
}
Expand description

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

Required Methods§

fn order<'life0, 'async_trait>( &'life0 self, request: Request<OrderRequest>, ) -> Pin<Box<dyn Future<Output = Result<Response<OrderReply>, Status>> + Send + 'async_trait>>
where 'life0: 'async_trait, Self: 'async_trait,

Implementors§