Trait client::cells::cell_service::CellServiceClient

source ·
pub trait CellServiceClient {
    // Required methods
    fn allocate<'life0, 'async_trait>(
        &'life0 self,
        req: CellServiceAllocateRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceAllocateResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn free<'life0, 'async_trait>(
        &'life0 self,
        req: CellServiceFreeRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceFreeResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn start<'life0, 'async_trait>(
        &'life0 self,
        req: CellServiceStartRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceStartResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn stop<'life0, 'async_trait>(
        &'life0 self,
        req: CellServiceStopRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceStopResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn list<'life0, 'async_trait>(
        &'life0 self,
        req: CellServiceListRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceListResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn allocate<'life0, 'async_trait>( &'life0 self, req: CellServiceAllocateRequest ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceAllocateResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn free<'life0, 'async_trait>( &'life0 self, req: CellServiceFreeRequest ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceFreeResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn start<'life0, 'async_trait>( &'life0 self, req: CellServiceStartRequest ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceStartResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn stop<'life0, 'async_trait>( &'life0 self, req: CellServiceStopRequest ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceStopResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn list<'life0, 'async_trait>( &'life0 self, req: CellServiceListRequest ) -> Pin<Box<dyn Future<Output = Result<Response<CellServiceListResponse>, Status>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§