Macro mpstthree::close_mpst [−][src]
macro_rules! close_mpst {
($func_name : ident, $meshedchannels_name : ident, $n_sessions : literal) => { ... };
}
This is supported on crate feature
macros_multiple
only.Expand description
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);
This macro is available only if MultiCrusty is built with
the "macros_multiple"
feature.