Macro mpstthree::close_mpst [−][src]
macro_rules! close_mpst { ($func_name : ident, $meshedchannels_name : ident, $nsessions : literal) => { ... }; }
Expand description
CLOSE Create the close function to be used with more than 3 participants.
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, create_meshedchannels}; create_meshedchannels!(MeshedChannels, 3); close_mpst!(close_mpst_multi, MeshedChannels, 3);