ProgressHandler

Type Alias ProgressHandler 

Source
pub type ProgressHandler = Box<dyn FnMut(u64, u64) + Send + Sync + 'static>;
Expand description

Progress handler is called with information about the stream read progress.

The first argument is the amount of bytes that were just read from the current chunk and the second argument is the total number of bytes read.

Aliased Typeยง

pub struct ProgressHandler(/* private fields */);