Macro mpstthree::bundle_impl_with_cancel
source · [−]macro_rules! bundle_impl_with_cancel {
(
$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,
with send
functions that can fail.
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);