macro_rules! rx_channels {
(
$vis:vis struct $channels:ident : $id:ident {
$(
$(#[$chan_meta:meta])* $entry:tt => $payload:ty $(= $route:expr)?
),+ $(,)?
}
) => { ... };
({ $($rest:tt)* }) => { ... };
($($rest:tt)+) => { ... };
}Expand description
Declares the receive channels of a CuBridge implementation.
See tx_channels! for details on naming and indexing.