pub enum ModuleMemoryImages {}
Expand description
A shim for the memory image container when support is not included.
Implementations
sourceimpl ModuleMemoryImages
impl ModuleMemoryImages
sourcepub fn new(
_: &Module,
_: &[u8],
_: Option<&MmapVec>
) -> Result<Option<ModuleMemoryImages>>
pub fn new(
_: &Module,
_: &[u8],
_: Option<&MmapVec>
) -> Result<Option<ModuleMemoryImages>>
Construct a new set of memory images. This variant is used when cow support is not included; it always returns no images.
sourcepub fn get_memory_image(
&self,
_: DefinedMemoryIndex
) -> Option<&Arc<MemoryImage>>
pub fn get_memory_image(
&self,
_: DefinedMemoryIndex
) -> Option<&Arc<MemoryImage>>
Get the memory image for a particular memory.
Auto Trait Implementations
impl RefUnwindSafe for ModuleMemoryImages
impl Send for ModuleMemoryImages
impl Sync for ModuleMemoryImages
impl Unpin for ModuleMemoryImages
impl UnwindSafe for ModuleMemoryImages
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more