Skip to main content

ObjSafeTask

Type Alias ObjSafeTask 

Source
pub type ObjSafeTask = Task<BoxedSendFuture, BoxedSendObserverNotifier>;
Expand description

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

This allows spawning type-erased tasks through trait objects, enabling dynamic dispatch when concrete types aren’t known at compile time.

Aliased Type§

pub struct ObjSafeTask { /* private fields */ }