#[non_exhaustive]pub struct FlashReport {
pub output: Vec<String>,
pub backend: Option<String>,
pub programmed: Option<bool>,
}Expand description
Result of a debug flash that programmed the target.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.output: Vec<String>The backend’s output, one entry per line or step.
backend: Option<String>Debug backend ("jlink" or "openocd"), when the box reports it.
programmed: Option<bool>The box’s verdict: Some(true) from box >= 0.51.0, None from an
older box, which reports no verdict. A false verdict is never
returned here; it is Error::FlashFailed.
Trait Implementations§
Source§impl Clone for FlashReport
impl Clone for FlashReport
Auto Trait Implementations§
impl Freeze for FlashReport
impl RefUnwindSafe for FlashReport
impl Send for FlashReport
impl Sync for FlashReport
impl Unpin for FlashReport
impl UnsafeUnpin for FlashReport
impl UnwindSafe for FlashReport
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