Crate cancellation_token

Source

Structs§

CancelOnDrop
An object for which a cancellation notification is sent when dropped.
Canceled
A value indicating that it has been canceled.
CancellationToken
An object for receiving cancellation notifications.
CancellationTokenRegistration
An object to unregister callback.
CancellationTokenSource
An object for sending cancellation notifications.

Enums§

CancelCallback
Callback called when canceled.

Traits§

OnCanceled
Callback called when canceled.

Type Aliases§

MayBeCanceled
Return value of the method that may be canceled.