Skip to main content

ProgressCallback

Type Alias ProgressCallback 

Source
pub type ProgressCallback = Arc<dyn Fn(u64, u64) + Send + Sync>;
Expand description

Callback invoked as archive bytes stream in: (downloaded, total), where total is the archive size pinned by the lock entry.

Aliased Typeยง

pub struct ProgressCallback { /* private fields */ }