pub struct Platform<T, S, B, C>{
pub transport: T,
pub storage: S,
pub boot_meta: B,
pub ctl: C,
}Expand description
Concrete platform holding all boot-time peripherals.
Constructed by the board-specific crate and passed to Core::new.
Fields§
§transport: TUART / RS-485 transport.
storage: SFlash storage for reading and writing firmware.
boot_meta: BPersistent boot metadata (state, trials, checksum).
ctl: CBoot control (reset, boot mode selection).
Implementations§
Auto Trait Implementations§
impl<T, S, B, C> Freeze for Platform<T, S, B, C>
impl<T, S, B, C> RefUnwindSafe for Platform<T, S, B, C>
impl<T, S, B, C> Send for Platform<T, S, B, C>
impl<T, S, B, C> Sync for Platform<T, S, B, C>
impl<T, S, B, C> Unpin for Platform<T, S, B, C>
impl<T, S, B, C> UnsafeUnpin for Platform<T, S, B, C>
impl<T, S, B, C> UnwindSafe for Platform<T, S, B, C>
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