[][src]Struct probe_rs::flashing::DownloadOptions

pub struct DownloadOptions<'progress> {
    pub progress: Option<&'progress FlashProgress>,
    pub keep_unwritten_bytes: bool,
}

Options for downloading a file onto a target chip.

Fields

progress: Option<&'progress FlashProgress>

An optional progress reporter which is used if this argument is set to Some(...).

keep_unwritten_bytes: bool

If keep_unwritten_bytes is true, erased portions that are not overwritten by the ELF data are restored afterwards, such that the old contents are untouched.

Trait Implementations

impl<'progress> Default for DownloadOptions<'progress>[src]

Auto Trait Implementations

impl<'progress> !RefUnwindSafe for DownloadOptions<'progress>

impl<'progress> !Send for DownloadOptions<'progress>

impl<'progress> !Sync for DownloadOptions<'progress>

impl<'progress> Unpin for DownloadOptions<'progress>

impl<'progress> !UnwindSafe for DownloadOptions<'progress>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.