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, $n_sessions : literal) => { ... };
}
This is supported on crate feature
macros_multiple
only.Expand description
Creates the structure MeshedChannels
create_meshedchannels
,
the close_mpst
and 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);
This macro is available only if MultiCrusty is built with
the "macros_multiple"
feature.