rusty-cat 0.1.6

Async HTTP client for resumable file upload and download.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
/// Output of [`crate::transfer_executor_trait::TransferTrait::prepare`].
#[derive(Debug, Clone, Copy)]
pub struct PrepareOutcome {
    /// Next transfer offset in bytes.
    ///
    /// Range: `0..=total_size`.
    pub next_offset: u64,
    /// Known total resource size in bytes.
    ///
    /// Range: `>= 0`.
    pub total_size: u64,
}