pub fn set_event_with_msg<K, M, E, I>(
    event_id: K,
    msg: impl Into<M>,
    origin: Origin
) -> Iwhere
    K: Id,
    M: Msg,
    E: EventEntry<K, M>,
    I: IntermediaryEvent<K, M, E>,
Expand description

Set an event for an Id with an explicit message.

Arguments

  • event_id … The Id used for this event
  • msg … Main message that is set for this event
  • origin … The origin where the event was set (Note: Use this_origin!())