Enum usbd_dfu::DFUMemError [−][src]
#[repr(u8)] pub enum DFUMemError { Target, File, Write, Erase, CheckErased, Prog, Verify, Unknown, Address, ErrVendor, }
Expand description
Errors that may happen when working with the memory (reading, erasing, writting). These will be translated to a corresponding error codes in DFU protocol.
Variants
Expand description
File is not targeted for use by this device.
Expand description
File is for this device but fails some vendor-specific verification test.
Expand description
Device is unable to write memory.
Expand description
Memory erase function failed.
Expand description
Memory erase check failed.
Expand description
Program memory function failed.
Expand description
Programmed memory failed verification.
Expand description
Something went wrong, but the device does not know what it was.
Expand description
Cannot program memory due to received address that is out of range.
Expand description
A vendor-specific error. iString in DFU_GETSTATUS reply will always be 0.