pub trait MemoryMapBlob {
type MemoryUnmapData;
// Required methods
fn mmap(
&self,
offs: u64,
len: usize,
) -> Result<(*mut c_void, Self::MemoryUnmapData)>;
fn munmap(&self, data: Self::MemoryUnmapData) -> Result<()>;
}Expand description
An Blob object that can be mapped into a memory.