pub enum BootError {
TooSmall,
Cart(CartError),
}Expand description
Why a retail boot could not start.
Variants§
TooSmall
The image is shorter than the 0x1000 boot header + IPL3, so there is
nothing to boot. (Also covers a PIF ROM shorter than its window.)
Cart(CartError)
The cartridge image could not be parsed (unrecognized byte order or a
truncated header) — the underlying crate::cart::CartError.
Trait Implementations§
impl Copy for BootError
impl Eq for BootError
impl StructuralPartialEq for BootError
Auto Trait Implementations§
impl Freeze for BootError
impl RefUnwindSafe for BootError
impl Send for BootError
impl Sync for BootError
impl Unpin for BootError
impl UnsafeUnpin for BootError
impl UnwindSafe for BootError
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