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

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

Options for downloading a file onto a target chip.

Fields

progress: Option<&'a 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<'a> Default for DownloadOptions<'a>[src]

Auto Trait Implementations

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

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

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

impl<'a> Unpin for DownloadOptions<'a>

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

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.