Struct orca::models::basic::ActorBasic
source · pub struct ActorBasic {
state: State,
}
Fields§
§state: State
Implementations§
source§impl ActorBasic
impl ActorBasic
source§impl ActorBasic
impl ActorBasic
fn next_transition(&mut self, roles: &BTreeSet<ActorRole>) -> Transition
fn next_state(&mut self, action: TransitionAction, result: TransitionResult)
Trait Implementations§
source§impl ActorModel for ActorBasic
impl ActorModel for ActorBasic
fn transition<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
client: &'life1 KanidmClient,
person: &'life2 Person
) -> Pin<Box<dyn Future<Output = Result<EventRecord, Error>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for ActorBasic
impl Send for ActorBasic
impl Sync for ActorBasic
impl Unpin for ActorBasic
impl UnwindSafe for ActorBasic
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more