pub enum PetriHaltReason {
PowerOff,
Reset,
Hibernate,
TripleFault,
Other,
}Expand description
The reason that the VM halted
Variants§
PowerOff
The vm powered off
Reset
The vm reset
Hibernate
The vm hibernated
TripleFault
The vm triple faulted
Other
The vm halted for some other reason
Trait Implementations§
Source§impl Clone for PetriHaltReason
impl Clone for PetriHaltReason
Source§fn clone(&self) -> PetriHaltReason
fn clone(&self) -> PetriHaltReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PetriHaltReason
impl Debug for PetriHaltReason
Source§impl PartialEq for PetriHaltReason
impl PartialEq for PetriHaltReason
impl Copy for PetriHaltReason
impl Eq for PetriHaltReason
impl StructuralPartialEq for PetriHaltReason
Auto Trait Implementations§
impl Freeze for PetriHaltReason
impl RefUnwindSafe for PetriHaltReason
impl Send for PetriHaltReason
impl Sync for PetriHaltReason
impl Unpin for PetriHaltReason
impl UnwindSafe for PetriHaltReason
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.