[][src]Enum usbd_scsi::BlockDeviceError

pub enum BlockDeviceError {
    HardwareError,
    WriteError,
    EraseError,
    InvalidAddress,
}

Variants

HardwareError

Hardware didn't behave as expected, unrecoverable

WriteError

Error during writing; most likely value read back after write was wrong

EraseError

Error during erase; most likely value read back after erase was wrong

STM32 flash programming app note implies this is possible but doesn't say under what circumstances. Is the flash knackered if this happens?

InvalidAddress

Address is invalid or out of range

Trait Implementations

impl Clone for BlockDeviceError[src]

impl Copy for BlockDeviceError[src]

impl Debug for BlockDeviceError[src]

impl Eq for BlockDeviceError[src]

impl PartialEq<BlockDeviceError> for BlockDeviceError[src]

impl StructuralEq for BlockDeviceError[src]

impl StructuralPartialEq for BlockDeviceError[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> Same<T> for T[src]

type Output = T

Should always be Self

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.