pub type FirmwareUpdateProgressCallback<'a> = dyn FnMut(&str, Option<(u64, u64)>) -> bool + 'a;Expand description
The progress callback type of MCUmgrClient::firmware_update.
§Arguments
&str- Human readable description of the current stepOption<(u64, u64)>- The (current, total) progress of the current step, if available.
§Return
false on error; this will cancel the update