pub type DataFuture = Box<dyn Future<Output = ContainerResult> + Unpin + Send + 'static>;Expand description
Type alias for a boxed, dynamically dispatched Future that yields a ContainerResult.
This allows storing and managing different asynchronous operations (load, sort, format)
that all eventually produce a DataContainer or an error.
dyn Future: Dynamic dispatch for different future types.Output = ContainerResult: The future resolves to our specific result type.+ Unpin: Required forasync/awaitusage in certain contexts.+ Send + 'static: Necessary bounds for futures used across threads (like withtokio::spawn).
Aliased Typeยง
pub struct DataFuture(/* private fields */);