[][src]Enum stm32l0xx_hal::flash::Error

pub enum Error {
    AbortedByFetch,
    NotErased,
    ReadProtection,
    ConfigMismatch,
    InvalidSize,
    InvalidAlignment,
    WriteProtection,
}

Variants

AbortedByFetch

Write/erase was aborted by fetch operation

See FWWERR bit in SR register.

NotErased

Failed to write memory that was not erased

See NOTZEROERR bit in SR register.

ReadProtection

Attempted to read protected memory

See RDERR bit in SR register.

ConfigMismatch

Configuration mismatch

See OPTVERR bit in SR register.

InvalidSize

Size of data to program is not correct

See SIZERR bit in SR register.

InvalidAlignment

Incorrect alignment when programming half-page

See PGAERR bit in SR register.

WriteProtection

Attempted to write to protected memory

See WRPERR in SR register.

Trait Implementations

impl Debug for Error[src]

Auto Trait Implementations

impl Unpin for Error

impl Send for Error

impl Sync for Error

Blanket Implementations

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

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

type Error = !

The type returned in the event of a conversion error.

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

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self