pub struct PanicResources<C: Chip + 'static, PP: ProcessPrinter + 'static> {
pub processes: MapCell<&'static [ProcessSlot]>,
pub chip: MapCell<&'static C>,
pub printer: MapCell<&'static PP>,
}Expand description
Resources needed by the main panic routines.
Fields§
§processes: MapCell<&'static [ProcessSlot]>The array of process slots.
chip: MapCell<&'static C>The board-specific chip object.
printer: MapCell<&'static PP>The tool for printing process details.
Implementations§
Source§impl<C: Chip, PP: ProcessPrinter> PanicResources<C, PP>
impl<C: Chip, PP: ProcessPrinter> PanicResources<C, PP>
Auto Trait Implementations§
impl<C, PP> !Freeze for PanicResources<C, PP>
impl<C, PP> !RefUnwindSafe for PanicResources<C, PP>
impl<C, PP> !Send for PanicResources<C, PP>
impl<C, PP> !Sync for PanicResources<C, PP>
impl<C, PP> Unpin for PanicResources<C, PP>
impl<C, PP> !UnwindSafe for PanicResources<C, PP>
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