pub struct UpdateFirmware<'a> {
pub firmware: Option<Vec<u8>>,
pub progress: Box<dyn ProgressIndicator + 'a>,
pub force: bool,
}
Expand description
Command for Transport::dispatch().
Fields§
§firmware: Option<Vec<u8>>
The firmware to load into the HyperDebug device, None means load an “official” newest
release of the firmware for the particular debugger device, assuming that the Transport
trait implementation knows how to download such.
progress: Box<dyn ProgressIndicator + 'a>
A progress function to provide user feedback, see details of the Progress
struct.
force: bool
Should updating be attempted, even if the current firmware version matches that of the image to be updated to.
Auto Trait Implementations§
impl<'a> Freeze for UpdateFirmware<'a>
impl<'a> !RefUnwindSafe for UpdateFirmware<'a>
impl<'a> !Send for UpdateFirmware<'a>
impl<'a> !Sync for UpdateFirmware<'a>
impl<'a> Unpin for UpdateFirmware<'a>
impl<'a> !UnwindSafe for UpdateFirmware<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more