6afb60abf5
...to take advantage of the aio::Encoder from the pxar create. Rather straightforward conversion, but does require getting rid of references in the Archiver struct, and thus has to be given the Mutex for the catalog directly. The callback is boxed. archive_dir_contents can call itself recursively, and thus needs to return a boxed future. Users are adjusted, namely PxarBackupStream is converted to use an Abortable future instead of a thread so it supports async in its handler function, and the pxar bin create_archive is converted to an async API function. One test case is made to just use 'block_on'. Signed-off-by: Stefan Reiter <s.reiter@proxmox.com> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
---|---|---|
.. | ||
backup_reader.rs | ||
backup_repo.rs | ||
backup_specification.rs | ||
backup_writer.rs | ||
http_client.rs | ||
merge_known_chunks.rs | ||
pipe_to_stream.rs | ||
pull.rs | ||
pxar_backup_stream.rs | ||
remote_chunk_reader.rs | ||
task_log.rs | ||
vsock_client.rs |