pub struct InstanceSnapshot { /* private fields */ }Expand description
Round-tripable shape of a single Instance. Pub struct, pub(crate)
fields — visible as a type at the crate boundary (so KernelSnapshot
can name it) but not constructible/inspectable from outside the
kernel crate.
Trait Implementations§
Source§impl Clone for InstanceSnapshot
impl Clone for InstanceSnapshot
Source§fn clone(&self) -> InstanceSnapshot
fn clone(&self) -> InstanceSnapshot
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 InstanceSnapshot
impl Debug for InstanceSnapshot
Source§impl<'de> Deserialize<'de> for InstanceSnapshot
impl<'de> Deserialize<'de> for InstanceSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for InstanceSnapshot
impl RefUnwindSafe for InstanceSnapshot
impl Send for InstanceSnapshot
impl Sync for InstanceSnapshot
impl Unpin for InstanceSnapshot
impl UnsafeUnpin for InstanceSnapshot
impl UnwindSafe for InstanceSnapshot
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