pub type UploadProgress = Arc<dyn Fn(u64, u64) + Send + Sync>;Expand description
Progress callback: invoked as bytes flow with (bytes_done_total, total),
where total is the full declared file size. bytes_done_total is
monotonically non-decreasing and reaches exactly total when the transfer
completes. Shared (Arc) so it can be cloned across concurrent part tasks;
it must therefore be Send + Sync.
Aliased Typeยง
pub struct UploadProgress { /* private fields */ }