pub fn create_cancellation_token() -> CancellationTokenExpand description
Create a new CancellationToken for cooperative cancellation of a download.
Pass the returned token to download (or a related entry
point) and call
CancellationToken::cancel to
abort the in-flight download.