macro_rules! write_payload {
    ($writer:expr, $payload:expr, types: [$($p_type:ty),+]) => { ... };
}
Expand description

Formats PanicInfo payload into String

Arguments

  • payload - PanicInfo payload message.
  • p_type - Multiple number of types which payload can be. If not among these types then it is formatted as {:?}

Return

Result of write! macro