Struct wasmer_types::module::ArchivableModuleInfoResolver
source · pub struct ArchivableModuleInfoResolverwhere
Option<String>: Archive,
Option<ModuleHash>: Archive,
IndexMap<ImportKey, ImportIndex>: Archive,
IndexMap<String, ExportIndex>: Archive,
Option<FunctionIndex>: Archive,
Vec<TableInitializer>: Archive,
BTreeMap<ElemIndex, Box<[FunctionIndex]>>: Archive,
BTreeMap<DataIndex, Box<[u8]>>: Archive,
PrimaryMap<LocalGlobalIndex, GlobalInit>: Archive,
BTreeMap<FunctionIndex, String>: Archive,
PrimaryMap<SignatureIndex, FunctionType>: Archive,
PrimaryMap<FunctionIndex, SignatureIndex>: Archive,
PrimaryMap<TableIndex, TableType>: Archive,
PrimaryMap<MemoryIndex, MemoryType>: Archive,
PrimaryMap<GlobalIndex, GlobalType>: Archive,
PrimaryMap<TagIndex, SignatureIndex>: Archive,
IndexMap<String, CustomSectionIndex>: Archive,
PrimaryMap<CustomSectionIndex, Box<[u8]>>: Archive,
usize: Archive,{Show 23 fields
name: <Option<String> as Archive>::Resolver,
hash: <Option<ModuleHash> as Archive>::Resolver,
imports: <IndexMap<ImportKey, ImportIndex> as Archive>::Resolver,
exports: <IndexMap<String, ExportIndex> as Archive>::Resolver,
start_function: <Option<FunctionIndex> as Archive>::Resolver,
table_initializers: <Vec<TableInitializer> as Archive>::Resolver,
passive_elements: <BTreeMap<ElemIndex, Box<[FunctionIndex]>> as Archive>::Resolver,
passive_data: <BTreeMap<DataIndex, Box<[u8]>> as Archive>::Resolver,
global_initializers: <PrimaryMap<LocalGlobalIndex, GlobalInit> as Archive>::Resolver,
function_names: <BTreeMap<FunctionIndex, String> as Archive>::Resolver,
signatures: <PrimaryMap<SignatureIndex, FunctionType> as Archive>::Resolver,
functions: <PrimaryMap<FunctionIndex, SignatureIndex> as Archive>::Resolver,
tables: <PrimaryMap<TableIndex, TableType> as Archive>::Resolver,
memories: <PrimaryMap<MemoryIndex, MemoryType> as Archive>::Resolver,
globals: <PrimaryMap<GlobalIndex, GlobalType> as Archive>::Resolver,
tags: <PrimaryMap<TagIndex, SignatureIndex> as Archive>::Resolver,
custom_sections: <IndexMap<String, CustomSectionIndex> as Archive>::Resolver,
custom_sections_data: <PrimaryMap<CustomSectionIndex, Box<[u8]>> as Archive>::Resolver,
num_imported_functions: <usize as Archive>::Resolver,
num_imported_tables: <usize as Archive>::Resolver,
num_imported_tags: <usize as Archive>::Resolver,
num_imported_memories: <usize as Archive>::Resolver,
num_imported_globals: <usize as Archive>::Resolver,
}
Expand description
The resolver for an archived ArchivableModuleInfo
Fields§
§name: <Option<String> as Archive>::Resolver
§hash: <Option<ModuleHash> as Archive>::Resolver
§imports: <IndexMap<ImportKey, ImportIndex> as Archive>::Resolver
§exports: <IndexMap<String, ExportIndex> as Archive>::Resolver
§start_function: <Option<FunctionIndex> as Archive>::Resolver
§table_initializers: <Vec<TableInitializer> as Archive>::Resolver
§passive_elements: <BTreeMap<ElemIndex, Box<[FunctionIndex]>> as Archive>::Resolver
§passive_data: <BTreeMap<DataIndex, Box<[u8]>> as Archive>::Resolver
§global_initializers: <PrimaryMap<LocalGlobalIndex, GlobalInit> as Archive>::Resolver
§function_names: <BTreeMap<FunctionIndex, String> as Archive>::Resolver
§signatures: <PrimaryMap<SignatureIndex, FunctionType> as Archive>::Resolver
§functions: <PrimaryMap<FunctionIndex, SignatureIndex> as Archive>::Resolver
§tables: <PrimaryMap<TableIndex, TableType> as Archive>::Resolver
§memories: <PrimaryMap<MemoryIndex, MemoryType> as Archive>::Resolver
§globals: <PrimaryMap<GlobalIndex, GlobalType> as Archive>::Resolver
§custom_sections: <IndexMap<String, CustomSectionIndex> as Archive>::Resolver
§custom_sections_data: <PrimaryMap<CustomSectionIndex, Box<[u8]>> as Archive>::Resolver
§num_imported_functions: <usize as Archive>::Resolver
§num_imported_tables: <usize as Archive>::Resolver
§num_imported_memories: <usize as Archive>::Resolver
§num_imported_globals: <usize as Archive>::Resolver
Auto Trait Implementations§
impl Freeze for ArchivableModuleInfoResolver
impl RefUnwindSafe for ArchivableModuleInfoResolver
impl Send for ArchivableModuleInfoResolver
impl Sync for ArchivableModuleInfoResolver
impl Unpin for ArchivableModuleInfoResolver
impl UnwindSafe for ArchivableModuleInfoResolver
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.