SendableAsyncTask

Type Alias SendableAsyncTask 

Source
pub type SendableAsyncTask<T> = Pin<Box<dyn Future<Output = T> + Send>>;
Expand description

A type alias for a sendable asynchronous task with a generic output.

This is often used to represent an asynchronous task that can be sent across threads.

Aliased Typeยง

pub struct SendableAsyncTask<T> { /* private fields */ }