Skip to main content

Module task_extensions

Module task_extensions 

Source
Expand description

Ignoring cancellation errors once a token is cancelled.

Structs§

IgnoringCancellation
A future that swallows its cancellation error if token was cancelled.

Traits§

TaskExtensions
Extension methods for futures.

Functions§

ignoring_cancellation
Awaits task, ignoring its cancellation error once token is cancelled. The trait version is TaskExtensions::ignoring_cancellation.