pub struct BootOptions {
pub flash_size: Option<usize>,
pub mac: [u8; 6],
pub analog: bool,
pub manifests: Vec<ManifestText>,
}Expand description
What a host can choose about a boot before the diagram is read.
Fields§
§flash_size: Option<usize>Flash size in bytes. None uses the board manifest’s, then 4 MiB.
mac: [u8; 6]The MAC the station reports. The default is stable so runs match.
analog: boolSolve the analog network instead of treating every net as digital.
manifests: Vec<ManifestText>Catalog manifests the host supplies. A browser has no directory to load them from, so a custom part or board arrives here.
Trait Implementations§
Source§impl Clone for BootOptions
impl Clone for BootOptions
Source§impl Debug for BootOptions
impl Debug for BootOptions
Auto Trait Implementations§
impl Forget for BootOptions
impl Freeze for BootOptions
impl Move for BootOptions
impl RefUnwindSafe for BootOptions
impl Send for BootOptions
impl Sync for BootOptions
impl Unpin for BootOptions
impl UnsafeUnpin for BootOptions
impl UnwindSafe for BootOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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