pub enum Transition<T: Agent> {
Continue {
agent: T,
command: TransitionCommand<T>,
},
Consume {
reason: ConsumptionReason,
},
}Variants§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Transition<T>where
T: Freeze,
impl<T> !RefUnwindSafe for Transition<T>
impl<T> Send for Transition<T>
impl<T> !Sync for Transition<T>
impl<T> Unpin for Transition<T>where
T: Unpin,
impl<T> !UnwindSafe for Transition<T>
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