pub enum TransitionProgram<S> {
Immediate(Effect<Vec<NewFact>, ActorError, S>),
Prepared(Effect<PreparedTransition<S>, ActorError, S>),
}Variants§
Immediate(Effect<Vec<NewFact>, ActorError, S>)
Prepared(Effect<PreparedTransition<S>, ActorError, S>)
Implementations§
Trait Implementations§
Source§impl<S> From<Effect<Vec<NewFact>, ActorError, S>> for TransitionProgram<S>
impl<S> From<Effect<Vec<NewFact>, ActorError, S>> for TransitionProgram<S>
Auto Trait Implementations§
impl<S> !RefUnwindSafe for TransitionProgram<S>
impl<S> !UnwindSafe for TransitionProgram<S>
impl<S> Freeze for TransitionProgram<S>where
Effect<Vec<NewFact>, ActorError, S>: Freeze,
Effect<PreparedTransition<S>, ActorError, S>: Freeze,
impl<S> Send for TransitionProgram<S>where
Effect<Vec<NewFact>, ActorError, S>: Send,
Effect<PreparedTransition<S>, ActorError, S>: Send,
impl<S> Sync for TransitionProgram<S>where
Effect<Vec<NewFact>, ActorError, S>: Sync,
Effect<PreparedTransition<S>, ActorError, S>: Sync,
impl<S> Unpin for TransitionProgram<S>where
Effect<Vec<NewFact>, ActorError, S>: Unpin,
Effect<PreparedTransition<S>, ActorError, S>: Unpin,
impl<S> UnsafeUnpin for TransitionProgram<S>where
Effect<Vec<NewFact>, ActorError, S>: UnsafeUnpin,
Effect<PreparedTransition<S>, ActorError, S>: UnsafeUnpin,
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