orca::model

Trait ActorModel

source
pub trait ActorModel {
    // Required method
    fn transition<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 mut self,
        client: &'life1 KanidmClient,
        person: &'life2 Person,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<EventRecord>, Error>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait,
             'life1: 'async_trait,
             'life2: 'async_trait;
}

Required Methods§

source

fn transition<'life0, 'life1, 'life2, 'async_trait>( &'life0 mut self, client: &'life1 KanidmClient, person: &'life2 Person, ) -> Pin<Box<dyn Future<Output = Result<Vec<EventRecord>, Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Implementors§