RestartParticipant
trait · ferroui-hot-reload · v0.5.0
trait RestartParticipant
Application-owned work which must stop before restart state is captured. Called on the UI thread. Return only after mutation has stopped; asynchronous draining must finish before this call or return an error for a later retry. On error or panic the participant must undo its own partial work. Previously successful participants are resumed by the handoff. This is not a mechanism for suspending arbitrary threads or rolling back arbitrary user side effects.
Members
quiesce
fn quiesce(self: &Self) -> Result<RestartResume, ReloadError>
Trait implementations
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.