Trait client::vms::vms_service::VmServiceClient

source ·
pub trait VmServiceClient {
    // Required methods
    fn create<'life0, 'async_trait>(
        &'life0 self,
        req: VmServiceCreateRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<VmServiceCreateResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn free<'life0, 'async_trait>(
        &'life0 self,
        req: VmServiceFreeRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<VmServiceFreeResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn start<'life0, 'async_trait>(
        &'life0 self,
        req: VmServiceStartRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<VmServiceStartResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn stop<'life0, 'async_trait>(
        &'life0 self,
        req: VmServiceStopRequest
    ) -> Pin<Box<dyn Future<Output = Result<Response<VmServiceStopResponse>, Status>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

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

source

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

source

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

source

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

Implementors§