# SchedulerOptimization

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactive/concurrency/enum-scheduleroptimization/

**enum** · [`ferroui-reactive`](/docs/0.5.0/api/ferroui-reactive/) · v0.5.0

```rust
enum SchedulerOptimization
```

A service of a scheduler that `DisableOptimizations` can hide (an interface of
`Scheduler.Optimizations`, which upstream names by its `Type`).

Deviation (DEVIATIONS.md, Reactive): `ISchedulerLongRunning` is not in the port, so it is not
one of the services.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/concurrency/disable_optimizations_scheduler.rs#L17)

## Members

- [`StopwatchProvider`](#variant-stopwatchprovider)
- [`Periodic`](#variant-periodic)
- [`ALL`](#assoc_const-all)

<a id="variant-stopwatchprovider"></a>

### StopwatchProvider

```rust
StopwatchProvider
```

`IStopwatchProvider` (`IScheduler::as_stopwatch_provider`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/concurrency/disable_optimizations_scheduler.rs#L19)

<a id="variant-periodic"></a>

### Periodic

```rust
Periodic
```

`ISchedulerPeriodic` (`IScheduler::as_periodic`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/concurrency/disable_optimizations_scheduler.rs#L21)

<a id="assoc_const-all"></a>

### ALL

```rust
const ALL: [SchedulerOptimization; 2]
```

Every service a scheduler may offer (`Scheduler.Optimizations`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Reactive/concurrency/disable_optimizations_scheduler.rs#L26)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- `Borrow<T>`
- `BorrowMut<T>`
- `CloneToUninit`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- `Any`
- `ToOwned`
- `Clone`
- `Copy`
- `Debug`
- `StructuralPartialEq`
- `PartialEq`
- `Eq`
- `Hash`

## Availability

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