[−][src]Struct wasmer_engine_jit::CodeMemory
Memory manager for executable code.
Implementations
impl CodeMemory
[src]
pub fn new() -> Self
[src]
Create a new CodeMemory
instance.
pub fn unwind_registry_mut(&mut self) -> &mut UnwindRegistry
[src]
Mutably get the UnwindRegistry.
pub fn allocate(
&mut self,
functions: &[&FunctionBody],
executable_sections: &[&CustomSection],
data_sections: &[&CustomSection]
) -> Result<(Vec<&mut [VMFunctionBody]>, Vec<&mut [u8]>, Vec<&mut [u8]>), String>
[src]
&mut self,
functions: &[&FunctionBody],
executable_sections: &[&CustomSection],
data_sections: &[&CustomSection]
) -> Result<(Vec<&mut [VMFunctionBody]>, Vec<&mut [u8]>, Vec<&mut [u8]>), String>
Allocate a single contiguous block of memory for the functions and custom sections, and copy the data in place.
pub fn publish(&mut self)
[src]
Apply the page permissions.
Auto Trait Implementations
impl RefUnwindSafe for CodeMemory
[src]
impl Send for CodeMemory
[src]
impl Sync for CodeMemory
[src]
impl Unpin for CodeMemory
[src]
impl UnwindSafe for CodeMemory
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,