Macro mpstthree::send_cancel[][src]

macro_rules! send_cancel {
    ($func_name : ident, $name : ident, $meshedchannels_name : ident, $n_sessions
 : literal, $msg : expr) => { ... };
}
This is supported on crate feature macros_multiple only.
Expand description

Creates a function that will cancel a session and send a Cancel signal to the broadcasting role.

Arguments

  • The name of the new function type
  • The name of the role that will send the Cancel signal
  • The MeshedChannels type that will be used
  • The number of participants (all together)
  • The message that will be displayed

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