pub trait GenericTransferHandle: Send {
    // Required method
    fn cancel(&self) -> Result<()>;
}Expand description
Generic transfer handle is a generic handle that allows for cancellation of in-flight transfers. It should be implemented by all backends that need to be plugged into a generic BackendTransferHandle structure.