UnsyncBoxFuture

Type Alias UnsyncBoxFuture 

Source
type UnsyncBoxFuture<T, E> = Pin<Box<dyn Future<Output = Result<T, E>>>>;
Expand description

A boxed Future trait object.

This type alias represents a boxed future that is not Send and must remain on the current thread.

Aliased Typeยง

#[repr(transparent)]
struct UnsyncBoxFuture<T, E> { /* private fields */ }