pub struct ShutdownPage(pub TextPage);Expand description
A shutdown page - optionally shown before stopping the HMI
- Is a text page with title “Shutdown”
- Has a dedicated lifetime
- Any user interaction is suppressed
- If lifetime is over it turns returns an PageError
Tuple Fields§
§0: TextPageImplementations§
Trait Implementations§
Source§impl PageBaseInterface for ShutdownPage
impl PageBaseInterface for ShutdownPage
Source§impl PageInteractionInterface for ShutdownPage
impl PageInteractionInterface for ShutdownPage
Source§fn dispatch(&mut self, _interaction: Interaction) -> PageNavigation
fn dispatch(&mut self, _interaction: Interaction) -> PageNavigation
Do not react on any interaction
Auto Trait Implementations§
impl Freeze for ShutdownPage
impl RefUnwindSafe for ShutdownPage
impl Send for ShutdownPage
impl Sync for ShutdownPage
impl Unpin for ShutdownPage
impl UnwindSafe for ShutdownPage
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