Orchestrator

Trait Orchestrator 

Source
pub trait Orchestrator: Send + Sync {
    // Required method
    fn move_key<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
        &'life0 self,
        src_persona: &'life1 str,
        dst_persona: &'life2 str,
        app_id: &'life3 str,
        key: &'life4 str,
    ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait,
             'life3: 'async_trait,
             'life4: 'async_trait;
}
Expand description

Handles higher-level data operations like moving keys between personas.

Required Methods§

Source

fn move_key<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, src_persona: &'life1 str, dst_persona: &'life2 str, app_id: &'life3 str, key: &'life4 str, ) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Moves a key from one persona to another within the same app.

Implementors§