Macro mpstthree::offer_cancel_mpst
source · [−]macro_rules! offer_cancel_mpst {
($session: expr, $recv_mpst: ident, { $( $pat: pat => $result: expr, )+ }) => { ... };
}
Available on crate feature
macros_multiple
only.Expand description
Offer a choice and send the session to the broadcaster
Arguments
- The session to be used
- [Optional] The recv function that will be used
- Each path, which are each variant of the enum which contains the new branches
- The block of code to process each new session
This macro is available only if MultiCrusty is built with
the "macros_multiple"
feature.