PlatformAsyncDataTransferItemImpl
trait · ferroui-base · v0.5.0
trait PlatformAsyncDataTransferItemImpl
The members a platform backend provides for a
PlatformAsyncDataTransferItem.
Members
provide_formats
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.
try_get_raw_core_async
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.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.