DashboardService

Trait DashboardService 

Source
pub trait DashboardService:
    Send
    + Sync
    + 'static {
    // Required methods
    fn get_job_dashboard<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetJobDashboardRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetJobDashboardResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_profile_dashboard<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetProfileDashboardRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetProfileDashboardResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_product_dashboard<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetProductDashboardRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetProductDashboardResponse>, 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 DashboardServiceServer.

Required Methods§

Source

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

Source

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

Source

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

Implementors§