pub fn ok_shared<CI, SS>(commands: CI, new_state: Ds, new_shared: SS) -> Self
    where
        CI: IntoIterator<Item = Sm::Command>,
        SS: Into<Sm::SharedState>,
    {
        Self::Ok {
            commands: commands.into_iter().collect(),
            new_state,
            shared_state: new_shared.into(),
        }
    }
/// Produce a transition with the provided commands to the provided state with shared state
/// changes
Produce a transition with the provided commands to the provided state with shared state
changes
Produce a transition with the provided commands to the provided state with shared state changes
pub fn ok_shared<CI, SS>(commands: CI, new_state: Ds, new_shared: SS) -> Self
    where
        CI: IntoIterator<Item = Sm::Command>,
        SS: Into<Sm::SharedState>,
    {
        Self::Ok {
            commands: commands.into_iter().collect(),
            new_state,
            shared_state: new_shared.into(),
        }
    }
pub fn ok_shared < CI , SS > ( commands : CI , new_state : Ds , new_shared : SS ) -> Self where CI : IntoIterator < Item = Sm :: Command > , SS : Into < Sm :: SharedState > , { Self :: Ok { commands : commands . into_iter ( ) . collect ( ) , new_state , shared_state : new_shared . into ( ) , } }
Produce a transition with the provided commands to the provided state with shared state
changes
Produce a transition with the provided commands to the provided state with shared state changes
commands
CI
new_state
Ds
new_shared
SS
commands
CI
new_state
Ds
new_shared
SS