pub fn ok<CI>(commands: CI, new_state: Ds) -> Self
    where
        CI: IntoIterator<Item = Sm::Command>,
    {
        Self::OkNoShare {
            commands: commands.into_iter().collect(),
            new_state,
        }
    }
/// Produce a transition with the provided commands to the provided state. No changes to shared
/// state if it exists
Produce a transition with the provided commands to the provided state. No changes to shared
state if it exists
Produce a transition with the provided commands to the provided state . No changes to shared state if it exists
pub fn ok<CI>(commands: CI, new_state: Ds) -> Self
    where
        CI: IntoIterator<Item = Sm::Command>,
    {
        Self::OkNoShare {
            commands: commands.into_iter().collect(),
            new_state,
        }
    }
pub fn ok < CI > ( commands : CI , new_state : Ds ) -> Self where CI : IntoIterator < Item = Sm :: Command > , { Self :: OkNoShare { commands : commands . into_iter ( ) . collect ( ) , new_state , } }
Produce a transition with the provided commands to the provided state.
Produce a transition with the provided commands to the provided state .
commands
CI
new_state
Ds
commands
CI
new_state
Ds