]> git.proxmox.com Git - proxmox-backup.git/commit - proxmox-backup-client/src/main.rs
pbs-client: avoid mut self in http_client methods.
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 4 Dec 2021 13:11:55 +0000 (14:11 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Sat, 4 Dec 2021 13:44:05 +0000 (14:44 +0100)
commitd4877712f83ddf7e647dda0349321e6adc9a8271
treeb9fc11a33a977c1f9b5d3a248c44529e07db6c3f
parent7549114c9f7b7222aa90a6e69fb809cabceb6909
pbs-client: avoid mut self in http_client methods.

It is not necessary, so avoid it. The client can now be used
with multiple threads (without using a Mutex).

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
pbs-client/src/http_client.rs
pbs-client/src/task_log.rs
proxmox-backup-client/src/main.rs
proxmox-backup-client/src/snapshot.rs
proxmox-backup-client/src/task.rs
src/bin/proxmox-backup-manager.rs
src/bin/proxmox-tape.rs
src/bin/proxmox_backup_debug/api.rs