Skip to main content

BoxSyncFuture

Type Alias BoxSyncFuture 

Source
type BoxSyncFuture<'a, T> = Pin<Box<dyn Future<Output = T> + Send + Sync + 'a>>;
Expand description

Helper type: Like BoxFuture, but also requires that the future be Sync.

Aliased Typeยง

#[repr(transparent)]
struct BoxSyncFuture<'a, T> { /* private fields */ }