Module std::concurrency

Structured concurrency support types.

ScopeError<E> is the stdlib failure-aggregation shape used by structured concurrency surfaces to report a primary child error, any additional child failures, and how many siblings were cancelled.

Contents

Types

Struct ScopeError

Aggregated failure details for a structured concurrency scope.

Fields

primary: E
also_failed: Vec<E>
cancelled_count: i64