# FirstPoll

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-system/task/enum-firstpoll/

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

```rust
enum FirstPoll
```

When the first poll of a task given a [`Schedule`](/docs/0.5.0/api/ferroui-system/task/trait-schedule/) runs (`spawn_local_on`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/task/schedule.rs#L55)

## Members

- [`Now`](#variant-now)
- [`Scheduled`](#variant-scheduled)

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

### Now

```rust
Now
```

Inside the call that spawns the task: the future runs up to its first pending await before
the call returns.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/task/schedule.rs#L58)

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

### Scheduled

```rust
Scheduled
```

Queued on the schedule, like the polls of the wakes that follow.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.System/task/schedule.rs#L60)

## 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/).
