pub struct SwapfileProvider {
mmap: Mmap,
index: HashMap<u64, (u64, u32)>,
}Expand description
Provider for Windows swapfile.sys — SM header format with optional Xpress compression.
Fields§
§mmap: Mmap§index: HashMap<u64, (u64, u32)>Maps page offset -> (file_offset, compressed_size).
Implementations§
Trait Implementations§
Source§impl Debug for SwapfileProvider
impl Debug for SwapfileProvider
Source§impl PagefileSource for SwapfileProvider
impl PagefileSource for SwapfileProvider
Auto Trait Implementations§
impl Freeze for SwapfileProvider
impl RefUnwindSafe for SwapfileProvider
impl Send for SwapfileProvider
impl Sync for SwapfileProvider
impl Unpin for SwapfileProvider
impl UnsafeUnpin for SwapfileProvider
impl UnwindSafe for SwapfileProvider
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