pub fn update(state: &mut State, cmd: Command, ctx: &Ctx) -> ReducedExpand description
Apply one Command to State, returning the resulting Events and any diagnostic log lines. State is mutated in place. Total function — never panics on input (panics are reserved for internal invariant violations).