macro_rules! create_offer_type_multi {
    ($type_name:ident, $meshedchannels_name:ident, $n_sessions:literal) => { ... };
}
Available on crate feature macros_multiple only.
Expand description

Create the OfferMpst type to be used with more than 3 participants.

Arguments

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

Example

use mpstthree::{create_meshedchannels, create_offer_type_multi};

create_meshedchannels!(MeshedChannels, 3);
create_offer_type_multi!(OfferMpstThree, MeshedChannels, 3);

This macro is available only if MultiCrusty is built with the "macros_multiple" feature.