pub struct LoadedSnapshot {
pub state: MicrovmState,
pub source_version: Version,
}Expand description
What load returns: the state blob plus the version embedded in the file.
Fields§
§state: MicrovmStateState blob.
source_version: VersionVersion this state file was produced by.
Trait Implementations§
Source§impl Clone for LoadedSnapshot
impl Clone for LoadedSnapshot
Source§fn clone(&self) -> LoadedSnapshot
fn clone(&self) -> LoadedSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LoadedSnapshot
impl Debug for LoadedSnapshot
Source§impl PartialEq for LoadedSnapshot
impl PartialEq for LoadedSnapshot
Source§fn eq(&self, other: &LoadedSnapshot) -> bool
fn eq(&self, other: &LoadedSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LoadedSnapshot
Auto Trait Implementations§
impl Freeze for LoadedSnapshot
impl RefUnwindSafe for LoadedSnapshot
impl Send for LoadedSnapshot
impl Sync for LoadedSnapshot
impl Unpin for LoadedSnapshot
impl UnsafeUnpin for LoadedSnapshot
impl UnwindSafe for LoadedSnapshot
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