Trait FrontendClient

Source
pub trait FrontendClient: Send + Debug {
    // Required methods
    fn list_process<'life0, 'async_trait>(
        &'life0 mut self,
        req: ListProcessRequest,
    ) -> Pin<Box<dyn Future<Output = Result<ListProcessResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn kill_process<'life0, 'async_trait>(
        &'life0 mut self,
        req: KillProcessRequest,
    ) -> Pin<Box<dyn Future<Output = Result<KillProcessResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn list_process<'life0, 'async_trait>( &'life0 mut self, req: ListProcessRequest, ) -> Pin<Box<dyn Future<Output = Result<ListProcessResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn kill_process<'life0, 'async_trait>( &'life0 mut self, req: KillProcessRequest, ) -> Pin<Box<dyn Future<Output = Result<KillProcessResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementations on Foreign Types§

Source§

impl FrontendClient for FrontendClient<Channel>

Source§

fn list_process<'life0, 'async_trait>( &'life0 mut self, req: ListProcessRequest, ) -> Pin<Box<dyn Future<Output = Result<ListProcessResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn kill_process<'life0, 'async_trait>( &'life0 mut self, req: KillProcessRequest, ) -> Pin<Box<dyn Future<Output = Result<KillProcessResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§