Skip to main content

ProgressFn

Type Alias ProgressFn 

Source
pub type ProgressFn = Arc<dyn Fn(&str) + Send + Sync>;
Expand description

Progress callback for reporting transfer phase changes.

Called with a human-readable phase description:

  • "pushing to pod-xxx: chunk 5/22 (500/2111)"
  • "pulling from cloud: 1200 files"
  • "target cloud: 4383 queued"

Aliased Type§

pub struct ProgressFn { /* private fields */ }