]> git.proxmox.com Git - proxmox-backup.git/commit - pbs-client/src/http_client.rs
drop Cancellable future in favor of abortable
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 17 Dec 2019 09:52:07 +0000 (10:52 +0100)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Tue, 17 Dec 2019 09:52:07 +0000 (10:52 +0100)
commitdc089345636121278876cfb99d1a82d5bacb63c5
treed3abf99bcf083c031810db3cc91dba5773c700ca
parent8554ac5ec327eebf27eb33f57a0ffa15403638a4
drop Cancellable future in favor of abortable

futures-0.3 has a futures::future::abortable() function
which does the exact same, returns an Abortable future with
an AbortHandle providing an abort() method.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/client/backup_reader.rs
src/client/backup_writer.rs
src/client/http_client.rs
src/tools.rs
src/tools/futures.rs [deleted file]