Skip to main content

UploadProgress

Type Alias UploadProgress 

Source
pub type UploadProgress<'a> = dyn Fn(u64) + Sync + Send + 'a;
Expand description

Reports how many bytes of a write have reached the backend so far. Called with the cumulative byte count as the body uploads; backends that can’t observe sub-call progress call it once at the end with the full size. The count is of the bytes handed to write (the encrypted payload).