Macro mpstthree::bundle_struct_fork_close_multi[][src]

macro_rules! bundle_struct_fork_close_multi {
    ($func_name_close : ident, $func_name_fork : ident, $meshedchannels_name :
 ident, $nsessions : literal) => { ... };
}
Expand description

Creates thestructure SessionMPST mpstthree::create_meshedchannels, the mpstthree::close_mpst and mpstthree::fork_mpst_multi.

Arguments

  • The name of the new close function
  • The name of the new fork function
  • The name of the MeshedChannels type that will be used
  • The number of participants (all together)

Example

use mpstthree::bundle_struct_fork_close_multi;

bundle_struct_fork_close_multi!(close_mpst, fork_mpst, MeshedChannels, 3);