# RestartParticipant

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-hot-reload/trait-restartparticipant/

**trait** · [`ferroui-hot-reload`](/docs/0.5.0/api/ferroui-hot-reload/) · v0.5.0

```rust
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.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/restart_handoff.rs#L12)

## Members

- [`quiesce`](#function-quiesce)

<a id="function-quiesce"></a>

### quiesce

```rust
fn quiesce(self: &Self) -> Result<RestartResume, ReloadError>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotReload/restart_handoff.rs#L13)

## Trait implementations

- [`RestartParticipant`](/docs/0.5.0/api/ferroui-hot-reload/trait-restartparticipant/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
