macro_rules! bundle_impl {
    (
        $meshedchannels_name: ident,
        $( $all_roles: ident),+ $(,)?
    ) => { ... };
}
Available 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);