WorkspaceStatusProvider

Trait WorkspaceStatusProvider 

Source
pub trait WorkspaceStatusProvider: Debug + Send {
    // Required methods
    fn update<'life0, 'async_trait>(
        &'life0 mut self,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn status<'life0, 'life1, 'async_trait>(
        &'life0 self,
        workspaces: &'life1 str,
        index: usize,
    ) -> Pin<Box<dyn Future<Output = WorkspaceStatus> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}

Required Methods§

Source

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

Source

fn status<'life0, 'life1, 'async_trait>( &'life0 self, workspaces: &'life1 str, index: usize, ) -> Pin<Box<dyn Future<Output = WorkspaceStatus> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Implementors§