Macro mpstthree::close_mpst_cancel [−][src]
macro_rules! close_mpst_cancel { ($func_name : ident, $meshedchannels_name : ident, $nsessions : literal) => { ... }; }
Expand description
Create the close function to be used with more than 3 participants. It is used for checking the send sides upon closing.
Arguments
- The name of the new close function
- The name of the MeshedChannels type that will be used
- The number of participants (all together)
Example
use mpstthree::{close_mpst_cancel, create_meshedchannels}; create_meshedchannels!(MeshedChannels, 3); close_mpst_cancel!(close_mpst_multi, MeshedChannels, 3);