# AbortHandle

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-system/task/struct-aborthandle/

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

```rust
struct AbortHandle
```

Aborts a task without owning its outcome (`JoinHandle::abort_handle`): any number of them,
from any thread. Dropping one does nothing to the task.

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

## Members

- [`id`](#function-id)
- [`is_finished`](#function-is_finished)
- [`abort`](#function-abort)

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

### id

```rust
fn id(self: &Self) -> Id
```

The id of the task.

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

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

### is_finished

```rust
fn is_finished(self: &Self) -> bool
```

Whether the task has ended, in any way, and its future is dropped.

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

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

### abort

```rust
fn abort(self: &Self)
```

Aborts the task, as `JoinHandle::abort` does, unless it has ended.

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

## 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`
- `Debug`

## Availability

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