[][src]Enum probe_rs::flashing::ProgressEvent

pub enum ProgressEvent {
    Initialized {
        flash_layout: FlashLayout,
    },
    StartedFilling,
    StartedFlashing,
    StartedErasing,
    PageFlashed {
        size: u32,
        time: Duration,
    },
    SectorErased {
        size: u32,
        time: Duration,
    },
    PageFilled {
        size: u32,
        time: Duration,
    },
    FailedProgramming,
    FinishedProgramming,
    FailedErasing,
    FinishedErasing,
    FailedFilling,
    FinishedFilling,
}

Possible events during the flashing process.

Variants

Initialized

Fields of Initialized

flash_layout: FlashLayout
StartedFilling
StartedFlashing

Programming of flash has started.

StartedErasing

Erasing of flash has started.

PageFlashed

A flash page has been programmed successfully.

Fields of PageFlashed

size: u32time: Duration
SectorErased

A sector has been erased successfully.

Fields of SectorErased

size: u32time: Duration
PageFilled

A page has been filled successfully.

Fields of PageFilled

size: u32time: Duration
FailedProgramming

Programming of the flash failed.

FinishedProgramming

Programming of the flash has finished successfully.

FailedErasing

Erasing of the flash has failed.

FinishedErasing

Erasing of the flash has finished successfully.

FailedFilling

Filling of the pages has failed.

FinishedFilling

Filling of the pages has finished successfully.

Trait Implementations

impl Debug for ProgressEvent[src]

Auto Trait Implementations

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.