pub enum AfterCheckpoint {
Resume,
HoldQuiesced,
}Expand description
What the guest does once a checkpoint is captured.
Variants§
Resume
Keep running.
HoldQuiesced
Stay frozen; the handle reports crate::VmState::Quiesced until it
is shut down. This is how an orchestrator implements “pause”: hold,
then shutdown(Kill); “resume” is a restore.
Trait Implementations§
Source§impl Clone for AfterCheckpoint
impl Clone for AfterCheckpoint
impl Copy for AfterCheckpoint
Source§impl Debug for AfterCheckpoint
impl Debug for AfterCheckpoint
Source§impl Default for AfterCheckpoint
impl Default for AfterCheckpoint
impl Eq for AfterCheckpoint
Source§impl PartialEq for AfterCheckpoint
impl PartialEq for AfterCheckpoint
impl StructuralPartialEq for AfterCheckpoint
Auto Trait Implementations§
impl Freeze for AfterCheckpoint
impl RefUnwindSafe for AfterCheckpoint
impl Send for AfterCheckpoint
impl Sync for AfterCheckpoint
impl Unpin for AfterCheckpoint
impl UnsafeUnpin for AfterCheckpoint
impl UnwindSafe for AfterCheckpoint
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.