PlatformService

Trait PlatformService 

Source
pub trait PlatformService:
    Send
    + Sync
    + 'static {
    // Required methods
    fn get_platforms<'life0, 'async_trait>(
        &'life0 self,
        request: Request<GetPlatformsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<GetPlatformsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_platforms<'life0, 'async_trait>(
        &'life0 self,
        request: Request<DeletePlatformsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<DeletePlatformsResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_platforms<'life0, 'async_trait>(
        &'life0 self,
        request: Request<UpdatePlatformsRequest>,
    ) -> Pin<Box<dyn Future<Output = Result<Response<UpdatePlatformsResponse>, 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 PlatformServiceServer.

Required Methods§

Source

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

Source

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

Source

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

Implementors§