pub struct Booted {
pub model: &'static str,
pub rom_name: String,
pub restored: bool,
pub restore_error: Option<String>,
}Expand description
boot’s result.
Fields§
§model: &'static strThe model booted (the ROM may have chosen another).
rom_name: StringThe ROM file’s name.
restored: boolThe host’s kept state was restored (Engine::boot_restoring);
only true is sent.
restore_error: Option<String>Why the kept state did not load (another ROM, an older format): the machine cold-booted instead.
Trait Implementations§
impl Eq for Booted
impl StructuralPartialEq for Booted
Auto Trait Implementations§
impl Forget for Booted
impl Freeze for Booted
impl Move for Booted
impl RefUnwindSafe for Booted
impl Send for Booted
impl Sync for Booted
impl Unpin for Booted
impl UnsafeUnpin for Booted
impl UnwindSafe for Booted
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