[][src]Struct wasmer_engine_jit::CodeMemory

pub struct CodeMemory { /* fields omitted */ }

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]

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.