pub struct MockPagefileSource {
pagefile_num: u8,
pages: HashMap<u64, [u8; 4096]>,
}Expand description
Mock pagefile source for testing pagefile PTE resolution.
Fields§
§pagefile_num: u8§pages: HashMap<u64, [u8; 4096]>Implementations§
Trait Implementations§
Source§impl PagefileSource for MockPagefileSource
impl PagefileSource for MockPagefileSource
Auto Trait Implementations§
impl Freeze for MockPagefileSource
impl RefUnwindSafe for MockPagefileSource
impl Send for MockPagefileSource
impl Sync for MockPagefileSource
impl Unpin for MockPagefileSource
impl UnsafeUnpin for MockPagefileSource
impl UnwindSafe for MockPagefileSource
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