zombienet_configuration/shared/
macros.rs

1// Helper to define states of a type.
2// We use an enum with no variants because it can't be constructed by definition.
3macro_rules! states {
4    ($($ident:ident),*) => {
5        $(
6            pub enum $ident {}
7        )*
8    };
9}
10
11pub(crate) use states;