Derive Macro teloxide_macros::Transition[][src]

#[derive(Transition)]

The docs is below.

All the variants must be of the form VariantName(MyStateType), and MyStateType must implement Subtransition. All MyStateTypes must have the same Subtransition::Aux and Subtransition::Error, which will be also used in the generated implementation.