macro_rules! scheduler { ($enum:ident { $($variant:ident),* $(,)? }) => { ... }; }
The macro implements the outer enum wrapper containing all the tasks