Type Definition git2::TransferProgress [−][src]
pub type TransferProgress<'a> = dyn FnMut(Progress<'_>) -> bool + 'a;
Expand description
Callback to be invoked while a transfer is in progress.
This callback will be periodically called with updates to the progress of
the transfer so far. The return value indicates whether the transfer should
continue. A return value of false
will cancel the transfer.
progress
- the progress being made so far.