Struct wasmer_runtime_near::CodeVersion [−][src]
pub struct CodeVersion { pub baseline: bool, pub msm: ModuleStateMap, pub base: usize, pub backend: &'static str, pub runnable_module: Arc<Box<dyn RunnableModule + 'static, Global>>, }
Expand description
A CodeVersion
is a container for a unit of generated code for a module.
Fields
baseline: bool
Indicates if this code version is the baseline version.
msm: ModuleStateMap
ModuleStateMap
for this code version.
base: usize
A pointer to the machine code for this module.
backend: &'static str
The backend used to compile this module.
runnable_module: Arc<Box<dyn RunnableModule + 'static, Global>>
RunnableModule
for this code version.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for CodeVersion
impl Send for CodeVersion
impl Sync for CodeVersion
impl Unpin for CodeVersion
impl !UnwindSafe for CodeVersion
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self