# RestartStartup

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

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

```rust
struct RestartStartup
```

Startup acknowledgement is explicit: call only after restoring state and initializing the UI.

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

## Members

- [`state`](#struct_field-state)
- [`from_environment`](#function-from_environment)
- [`acknowledge`](#function-acknowledge)

<a id="struct_field-state"></a>

### state

```rust
state: RestartState
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L78)

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

### from_environment

```rust
fn from_environment(application: &str, version: u32) -> io::Result<Option<Self>>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L82)

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

### acknowledge

```rust
fn acknowledge(self: Self) -> io::Result<()>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.HotPatch/restart.rs#L106)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`

## Availability

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