Module cancel

Source
Expand description

Cancellable futures.

Structs§

Cancel 🔒
A cancellable future type, loosely influenced by RemoteHandle.
CancelHandle 🔒
An object that can be used to cancel a future.
Cancelled 🔒
An error returned from a Cancel future if it is cancelled.
Inner 🔒
Inner state shared between Cancel and the `CancelHandle.

Enums§

CannotCancel 🔒
An error returned when we cannot cancel a future.
Status 🔒
Possible status of Cancel future.