proxmox-backup/examples
Christian Ebner fcea0794c8 client: backup writer: only borrow http client
Instead of taking ownership of the http client when starting a new
BackupWriter instance, only borrow the client.

This allows to reuse the http client to later reuse it to start also a
BackupReader instance as required for backup runs with metadata based
file change detection mode, where both must use the same http client.

Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2024-04-04 10:51:45 +02:00
..
cipherbench.rs update zstd to 0.12 2023-05-21 15:32:45 +02:00
completion.rs examples: rust fmt 2022-04-10 17:44:34 +02:00
download-speed.rs accept a ref to a HttpClient 2023-11-25 17:07:42 +01:00
dynamic-files.rs examples: rust fmt 2022-04-10 17:44:34 +02:00
h2client.rs use new proxmox-async crate 2021-11-19 18:03:22 +01:00
h2s-client.rs use new proxmox-async crate 2021-11-19 18:03:22 +01:00
h2s-server.rs use new proxmox-async crate 2021-11-19 18:03:22 +01:00
h2server.rs use new proxmox-async crate 2021-11-19 18:03:22 +01:00
test_chunk_size.rs examples: rust fmt 2022-04-10 17:44:34 +02:00
test_chunk_speed2.rs examples: rust fmt 2022-04-10 17:44:34 +02:00
test_chunk_speed.rs examples: rust fmt 2022-04-10 17:44:34 +02:00
upload-speed.rs client: backup writer: only borrow http client 2024-04-04 10:51:45 +02:00