Skip to main content

ObjSafeStaticTask

Type Alias ObjSafeStaticTask 

Source
pub type ObjSafeStaticTask = Task<BoxedStaticFuture, BoxedStaticObserverNotifier>;
Expand description

Type alias for a Task that can be used with static object-safe spawning.

This allows spawning type-erased ’static tasks without Send requirement.

Aliased Type§

pub struct ObjSafeStaticTask { /* private fields */ }