]> git.proxmox.com Git - proxmox-backup.git/commit - pbs-client/src/http_client.rs
some internal combinator-influenced api cleanup
authorWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 12 Jun 2020 09:46:42 +0000 (11:46 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Fri, 12 Jun 2020 09:46:42 +0000 (11:46 +0200)
commit3d571d55096717d3abb65839f86eea73cbc4a21e
tree55326ab80fe5f1aad464b9f5d32c3b1de3c4cda6
parent8e6e18b77c9729ac3b86c02bbd3122bd26948ccf
some internal combinator-influenced api cleanup

The download methods used to take the destination by value
and return them again, since this was required when using
combinators before we had `async fn`.
But this is just an ugly left-over now.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
src/bin/download-speed.rs
src/bin/proxmox-backup-client.rs
src/client/backup_reader.rs
src/client/http_client.rs
src/client/pull.rs