Skip to main content

LocalFuture

Type Alias LocalFuture 

Source
pub type LocalFuture<T> = Pin<Box<dyn Future<Output = T>>>;
Expand description

A future of the thread of the compositor: what its asynchronous members return (a ValueTask upstream), awaited on that thread.

Aliased Typeยง

#[repr(transparent)]
pub struct LocalFuture<T> { /* private fields */ }