[][src]Enum probe_rs::flashing::FlashError

pub enum FlashError {
    RoutineCallFailed {
        name: &'static str,
        errorcode: u32,
    },
    RoutineNotSupported(&'static str),
    InvalidBufferNumber {
        n: usize,
        max: usize,
    },
    Memory(Error),
    Core(Error),
    AddressNotInRegion {
        address: u32,
        region: FlashRegion,
    },
    InvalidFlashAlgorithmLength,
    FlashAlgorithmNotLoaded,
    PageWrite {
        page_address: u32,
        error_code: u32,
    },
    DataOverlap(u32),
    InvalidFlashAddress(u32),
    NoSuitableFlash {
        start: u32,
        end: u32,
    },
    NoFlashLoaderAlgorithmAttached,
    Other(Error),
}

Describes any error that happened during the or in preparation for the flashing procedure.

Variants

RoutineCallFailed

Fields of RoutineCallFailed

name: &'static strerrorcode: u32
RoutineNotSupported(&'static str)
InvalidBufferNumber

Fields of InvalidBufferNumber

n: usizemax: usize
Memory(Error)
Core(Error)
AddressNotInRegion

Fields of AddressNotInRegion

address: u32region: FlashRegion
InvalidFlashAlgorithmLength
FlashAlgorithmNotLoaded
PageWrite

Fields of PageWrite

page_address: u32error_code: u32
DataOverlap(u32)
InvalidFlashAddress(u32)
NoSuitableFlash

Fields of NoSuitableFlash

start: u32end: u32
NoFlashLoaderAlgorithmAttached
Other(Error)

Trait Implementations

impl Debug for FlashError[src]

impl Display for FlashError[src]

impl Error for FlashError[src]

impl From<Error> for FlashError[src]

impl From<FlashError> for FileDownloadError[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> ToString for T where
    T: Display + ?Sized
[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.