# restart

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-hot-patch/restart/

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

```rust
module restart
```

Process restart is a two-phase operation: successful build, then acknowledged startup.
Pump this supervisor off the UI thread. Capture application state on the UI thread only
after `poll_build` returns a ticket, and pass that snapshot to `launch`.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L1)

## Contents

- [`WindowPlacement`](/docs/0.5.0/api/ferroui-hot-patch/restart/struct-windowplacement/) — struct
- [`RestartState`](/docs/0.5.0/api/ferroui-hot-patch/restart/struct-restartstate/) — struct
- [`RestartStartup`](/docs/0.5.0/api/ferroui-hot-patch/restart/struct-restartstartup/) — struct
- [`BuiltRevision`](/docs/0.5.0/api/ferroui-hot-patch/restart/struct-builtrevision/) — struct
- [`ReplacementStatus`](/docs/0.5.0/api/ferroui-hot-patch/restart/enum-replacementstatus/) — enum
- [`RestartSupervisor`](/docs/0.5.0/api/ferroui-hot-patch/restart/struct-restartsupervisor/) — struct

## Availability

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