scientific_workflow/task/result.rs
1//! Application task result boundary.
2
3/// The result returned by application-defined task operations.
4///
5/// Errors must be thread-safe and own every value they reference so a runtime
6/// may move them across worker boundaries and retain their source chains.
7pub type TaskResult<T = ()> = Result<T, Box<dyn std::error::Error + Send + Sync + 'static>>;