Expand description
§Yet Another Backblaze B2 Client
Opinionated Backblaze B2 Client.
§Features
- Simple API making use of Rust’s ownership for API constraints
- Automatic re-authentication and refreshing of Upload URLs
§Cargo Features
fs
(enables optimized routine for uploading from filesystem)pool
(enabled non-largeUploadURL
object pool for reuse)reqwest_compression
(enables deflate/gzip features onreqwest
)large_buffers
(enables large buffer support, 64KiB instead of 8KiB)
Re-exports§
pub use error::B2Error;
Modules§
- Autogenerated builders for various types.
- Error Handling types for the B2 API.
- Models for the B2 API.
- A Pool of
UploadUrl
s that can be used to upload files in parallel, reusing the same URLs, and reducing the number of requests to the B2 API. - Server-Side Encryption (SSE) types and utilities
Structs§
- A client for interacting with the B2 API
- A builder for creating a
Client
- Wrapper around a response and the file’s parsed headers.
- New file retention settings to apply to a file.
- A large file that is being uploaded in parts.
- Parameters for listing files in a bucket.
- Information for a new file to be uploaded.
- Info about a new whole file to be uploaded.
- Info about a new large file to be uploaded.
- Info about a new part of a large file to be uploaded.
- Temporarily acquired URL for uploading parts of a large file.
- Temporarily acquired URL for uploading single files.
Enums§
- Identifier for a file to download, either by its file ID or file name.