Skip to main content

interrupts_of

Function interrupts_of 

Source
pub fn interrupts_of(event: &Event) -> &[Interrupt]
Expand description

The interrupts a RUN_FINISHED paused on, or an empty slice for any other event.

A RUN_FINISHED with no outcome at all is a success: producers that predate the interrupt protocol omit the field, and reading that as “paused” would hang every one of them.