Macro mpstthree::bundle_impl [−][src]
macro_rules! bundle_impl {
($meshedchannels_name : ident, $($all_roles : ident), + $(,) ?) => { ... };
}
This is supported on crate feature
baking
only.Expand description
Create a new SessionMST structure, new roles and the baking environment.
This macro creates the related fork_mpst
function.
Arguments
- Name of the new SessionMST
- Names of the new roles. They are called as RoleX where X is the name provided.
Basic example
use mpstthree::bundle_impl;
bundle_impl!(MeshedChannelsThree, A, B, C);