1
0
Fork 0
firefox/toolkit/components/bitsdownload/bits_client
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00
..
bits Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
examples Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
src Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
.gitignore Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
Cargo.toml Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00
README.md Adding upstream version 140.0. 2025-06-25 09:37:52 +02:00

bits_client

Interfaces for BITS.

bits_client lib

bits_client is the primary target and provides BitsClient, an API for creating and monitoring BITS jobs.

bits_client::new() creates a BitsClient that does all operations within the current process, as the current user.

bits crate

bits is a safe interface to BITS, providing connections to the Background Copy Manager, some basic operations on Background Copy Jobs, and methods for implementing IBackgroundCopyCallbacks in Rust.

test_client example

examples/test_client.rs shows how to use the API.