use ;
/// A shareable token for requesting cooperative transfer cancellation.
///
/// Clones refer to the same cancellation state. Calling [`Self::cancel`] on
/// any clone makes [`Self::is_cancelled`] return `true` on every clone.
/// Cancellation cannot be reset. An in-progress blocking read is not
/// interrupted immediately; cancellation is checked at defined points in
/// the transfer implementation.