Module vboxhelper::snapshot
source · [−]Expand description
Manage virtual machine snapshots.
Structs
Enums
Functions
Returns Ok(true)
if the virtual machine vid
has a single snapshot
named name
. Returns Err(Missing)
if there are no snapshots with that
name. Returns Err(Error::Ambiguous)
if there’s more than one.
Delete a snapshot.
Just like delete()
but checks if the snapshot exists first.
Get a structured representation of all snapshots for a virtual machine.
Convert a HashMap of snapshots (typically aquired using map()
) to a
structured representation of the snapshots tree.
Returns Ok(true)
if the virtual machine vid
has one or more snapshots
named name
.
Get a HashMap of all snapshots.
Rename a snapshot
Restore a virtual machine to a snapshot.
Take a new snapshot at current vm state.