pub struct SnapshotCreate {
pub snapshot_type: SnapshotType,
pub snapshot_path: String,
pub mem_file_path: String,
}Expand description
PUT /snapshot/create
L2-06-2 fill() path. snapshot_type=Full writes both the VM state file
(registers, devices) at snapshot_path AND a sibling memory dump at
mem_file_path. The two files together are what PUT /snapshot/load
consumes at restore time. Sizes: state ~ a few KiB, mem ~ guest RAM.
Fields§
§snapshot_type: SnapshotType§snapshot_path: String§mem_file_path: StringTrait Implementations§
Source§impl Debug for SnapshotCreate
impl Debug for SnapshotCreate
Auto Trait Implementations§
impl Freeze for SnapshotCreate
impl RefUnwindSafe for SnapshotCreate
impl Send for SnapshotCreate
impl Sync for SnapshotCreate
impl Unpin for SnapshotCreate
impl UnsafeUnpin for SnapshotCreate
impl UnwindSafe for SnapshotCreate
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