pub struct Snapshot2<I: Clone + PartialEq> {
pub pages_from_source: Vec<(u64, u8, I, u64, u64)>,
pub dirty_pages: Vec<(u64, u8, Vec<u8>)>,
pub version: u32,
pub registers: [u64; 32],
pub pc: u64,
pub cycles: u64,
pub max_cycles: u64,
pub load_reservation_address: u64,
}
Fields§
§pages_from_source: Vec<(u64, u8, I, u64, u64)>
§dirty_pages: Vec<(u64, u8, Vec<u8>)>
§version: u32
§registers: [u64; 32]
§pc: u64
§cycles: u64
§max_cycles: u64
§load_reservation_address: u64
Trait Implementations§
source§impl<'de, I> Deserialize<'de> for Snapshot2<I>
impl<'de, I> Deserialize<'de> for Snapshot2<I>
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<I> Freeze for Snapshot2<I>
impl<I> RefUnwindSafe for Snapshot2<I>where
I: RefUnwindSafe,
impl<I> Send for Snapshot2<I>where
I: Send,
impl<I> Sync for Snapshot2<I>where
I: Sync,
impl<I> Unpin for Snapshot2<I>where
I: Unpin,
impl<I> UnwindSafe for Snapshot2<I>where
I: UnwindSafe,
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