Skip to main content

Module cancel

Module cancel 

Source
Expand description

Cancellation that never claims more than is known (spec 009, 3.4.3 and I-6): stopped only when no request byte left the process, or when the remote side confirmed the stop with its final charge; best_effort never yields stopped.

Structs§

CancelOutcome
What a cancelled attempt can state.

Functions§

cancel_outcome
Decide the acknowledgement of a cancelled attempt.
cancelled_report
The report of a cancelled attempt, remote:cancelled with the outcome of cancel_outcome.