macro_rules! rpc_encode_decode {
    (le $ty:ty) => { ... };
    (struct $name:ident $(<$($T:ident),+>)? { $($field:ident),* $(,)? }) => { ... };
    (enum $name:ident $(<$($T:ident),+>)? { $($variant:ident $(($field:ident))*),* $(,)? }) => { ... };
}
🔬This is a nightly-only experimental API. (proc_macro_internals #27812)