pub enum Transition<T> {
Next(T, Result<NextState<T>>),
Crashed(Error),
Interrupted,
}Variants§
Auto Trait Implementations§
impl<T> Freeze for Transition<T>where
T: Freeze,
impl<T> !RefUnwindSafe for Transition<T>
impl<T> Send for Transition<T>where
T: Send,
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