pub struct BoardImage<'a> {
pub id: Option<&'a str>,
pub app: &'a [u8],
pub rom: &'a [u8],
pub bootloader: &'a [u8],
pub partition_table: &'a [u8],
pub flash_size: Option<usize>,
pub mac: Option<[u8; 6]>,
}Expand description
One development board’s images for boot_fleet. A host that runs a
multi-board diagram names each board’s instance id and boots every chip
against the same flattened circuit.
Fields§
§id: Option<&'a str>The diagram.json instance id. None matches boards by position.
app: &'a [u8]§rom: &'a [u8]§bootloader: &'a [u8]§partition_table: &'a [u8]§flash_size: Option<usize>§mac: Option<[u8; 6]>Auto Trait Implementations§
impl<'a> Forget for BoardImage<'a>
impl<'a> Freeze for BoardImage<'a>
impl<'a> Move for BoardImage<'a>
impl<'a> RefUnwindSafe for BoardImage<'a>
impl<'a> Send for BoardImage<'a>
impl<'a> Sync for BoardImage<'a>
impl<'a> Unpin for BoardImage<'a>
impl<'a> UnsafeUnpin for BoardImage<'a>
impl<'a> UnwindSafe for BoardImage<'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