pub enum LoadError {
WrongSize {
offered: usize,
},
ReadBackDiffers {
at: usize,
},
ParityFailed,
}Expand description
Why firmware did not load.
Variants§
WrongSize
The image handed over is not the size the microcontroller holds.
ReadBackDiffers
The bytes read back are not the bytes written, so the bus is not carrying them.
ParityFailed
The bytes arrived but the chip refused them, so the image itself is wrong.
Trait Implementations§
impl Copy for LoadError
impl Eq for LoadError
impl StructuralPartialEq for LoadError
Auto Trait Implementations§
impl Freeze for LoadError
impl RefUnwindSafe for LoadError
impl Send for LoadError
impl Sync for LoadError
impl Unpin for LoadError
impl UnsafeUnpin for LoadError
impl UnwindSafe for LoadError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more