AppEnumeration

Trait AppEnumeration 

Source
pub trait AppEnumeration: Send + Sync {
    // Required methods
    fn get_personas<'life0, 'async_trait>(
        &'life0 self,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_apps<'life0, 'life1, 'async_trait>(
        &'life0 self,
        persona_id: &'life1 str,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait;
}
Expand description

Allows discovering personas and apps within the store.

Required Methods§

Source

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

Lists all available persona IDs.

Source

fn get_apps<'life0, 'life1, 'async_trait>( &'life0 self, persona_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Lists all app IDs for a given persona.

Implementors§