pub fn unwrap(self) -> Vec<M::Command> {
        match self {
            Self::Ok { commands } => commands,
            Self::InvalidTransition => panic!("Transition was not successful!"),
        }
    }
/// Unwraps the machine update, panicking if the transition was invalid.
Unwraps the machine update, panicking if the transition was invalid.
Unwraps the machine update panicking if the transition was invalid .
pub fn unwrap(self) -> Vec<M::Command> {
        match self {
            Self::Ok { commands } => commands,
            Self::InvalidTransition => panic!("Transition was not successful!"),
        }
    }
pub fn unwrap ( self ) -> Vec < M :: Command > { match self { Self :: Ok { commands } => commands , Self :: InvalidTransition => panic ! ( " " ) , } }
Unwraps the machine update, panicking if the transition was invalid.
Unwraps the machine update panicking if the transition was invalid .
self
self