rusty-cat 0.2.2

Async HTTP client for resumable file upload and download.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::direction::Direction;

/// Lightweight runtime snapshot for monitoring current scheduler state.
#[derive(Debug, Clone)]
pub struct TransferSnapshot {
    /// Number of queued transfer groups waiting to run.
    ///
    /// Range: `>= 0`.
    pub queued_groups: usize,
    /// Number of active transfer groups currently running.
    ///
    /// Range: `>= 0`.
    pub active_groups: usize,
    /// Keys of active groups as `(direction, dedup_key)`.
    pub active_keys: Vec<(Direction, String)>,
}