pub struct HartState {
pub running: bool,
pub halted: bool,
}
Expand description
State of the hart.
If both running
and halted
are false, then the hart is in the process of transitioning between
the two states (i.e. resuming or halting).
Fields§
§running: bool
§halted: bool
Auto Trait Implementations§
impl Freeze for HartState
impl RefUnwindSafe for HartState
impl Send for HartState
impl Sync for HartState
impl Unpin for HartState
impl UnwindSafe for HartState
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