# PlatformAsyncDataTransferItemImpl

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/input/platform/trait-platformasyncdatatransferitemimpl/

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

```rust
trait PlatformAsyncDataTransferItemImpl
```

The members a platform backend provides for a
[`PlatformAsyncDataTransferItem`](/docs/0.5.0/api/ferroui-base/input/platform/struct-platformasyncdatatransferitem/).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/platform/platform_async_data_transfer_item.rs#L9)

## Members

- [`provide_formats`](#function-provide_formats)
- [`try_get_raw_core_async`](#function-try_get_raw_core_async)

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

### provide_formats

```rust
fn provide_formats(self: &Self) -> Result<Vec<DataFormat>, ClipboardError>
```

Provides the formats supported by the item. Called until it
succeeds: a failure is reported to the caller and not kept.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/platform/platform_async_data_transfer_item.rs#L12)

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

### try_get_raw_core_async

```rust
fn try_get_raw_core_async(self: &Self, format: &DataFormat) -> LocalBoxFuture<Result<Option<Rc<dyn Any>>, ClipboardError>>
```

Gets the value for a format the item supports.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/platform/platform_async_data_transfer_item.rs#L15)

## Availability

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