pub enum PetriGuestStateLifetime {
Disk,
ReprovisionOnFailure,
Reprovision,
Ephemeral,
}Expand description
Petri VM guest state lifetime
Variants§
Disk
Use a differencing disk backed by a blank, tempory VMGS file or other artifact if one is provided
ReprovisionOnFailure
Same as default, except reformat the backing disk if corrupted
Reprovision
Same as default, except reformat the backing disk
Ephemeral
Store guest state in memory (no backing disk)
Trait Implementations§
Source§impl Clone for PetriGuestStateLifetime
impl Clone for PetriGuestStateLifetime
Source§fn clone(&self) -> PetriGuestStateLifetime
fn clone(&self) -> PetriGuestStateLifetime
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 PetriGuestStateLifetime
impl Debug for PetriGuestStateLifetime
impl Copy for PetriGuestStateLifetime
Auto Trait Implementations§
impl Freeze for PetriGuestStateLifetime
impl RefUnwindSafe for PetriGuestStateLifetime
impl Send for PetriGuestStateLifetime
impl Sync for PetriGuestStateLifetime
impl Unpin for PetriGuestStateLifetime
impl UnwindSafe for PetriGuestStateLifetime
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