mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
14 lines
219 B
Rust
14 lines
219 B
Rust
#![allow(dead_code)]
|
|
|
|
use polkadot_overseer_all_subsystems_gen::AllSubsystemsGen;
|
|
|
|
#[derive(Clone, AllSubsystemsGen)]
|
|
enum AllSubsystems<A,B> {
|
|
A(A),
|
|
B(B),
|
|
}
|
|
|
|
fn main() {
|
|
let all = AllSubsystems::<u8,u16>::A(0u8);
|
|
}
|