pub struct Images<'a> {
pub rom: &'a [u8],
pub bootloader: &'a [u8],
pub partition_table: &'a [u8],
pub app: &'a [u8],
}Expand description
The images a boot needs. ROM and the bootloader/partition-table pair are optional; the pair goes together or not at all, because the bootloader looks the application up through the table.
Fields§
§rom: &'a [u8]The mask ROM, or an empty slice to let the chip use its own.
bootloader: &'a [u8]The second-stage bootloader, when the application is not booted bare.
partition_table: &'a [u8]The partition table that names the application’s partition.
app: &'a [u8]The application image; required.
Auto Trait Implementations§
impl<'a> Forget for Images<'a>
impl<'a> Freeze for Images<'a>
impl<'a> Move for Images<'a>
impl<'a> RefUnwindSafe for Images<'a>
impl<'a> Send for Images<'a>
impl<'a> Sync for Images<'a>
impl<'a> Unpin for Images<'a>
impl<'a> UnsafeUnpin for Images<'a>
impl<'a> UnwindSafe for Images<'a>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more