Skip to main content

Module cancel

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.