Enum wasmer_types::indexes::ArchivedImportIndex
source · #[repr(u8)]pub enum ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,{
Function(<FunctionIndex as Archive>::Archived),
Table(<TableIndex as Archive>::Archived),
Memory(<MemoryIndex as Archive>::Archived),
Tag(<TagIndex as Archive>::Archived),
Global(<GlobalIndex as Archive>::Archived),
}
Expand description
An archived ImportIndex
Variants§
Function(<FunctionIndex as Archive>::Archived)
The archived counterpart of ImportIndex::Function
Table(<TableIndex as Archive>::Archived)
The archived counterpart of ImportIndex::Table
Memory(<MemoryIndex as Archive>::Archived)
The archived counterpart of ImportIndex::Memory
Tag(<TagIndex as Archive>::Archived)
The archived counterpart of ImportIndex::Tag
Global(<GlobalIndex as Archive>::Archived)
The archived counterpart of ImportIndex::Global
Trait Implementations§
source§impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<__C as Fallible>::Error: Source,
<FunctionIndex as Archive>::Archived: CheckBytes<__C>,
<TableIndex as Archive>::Archived: CheckBytes<__C>,
<MemoryIndex as Archive>::Archived: CheckBytes<__C>,
<TagIndex as Archive>::Archived: CheckBytes<__C>,
<GlobalIndex as Archive>::Archived: CheckBytes<__C>,
impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<__C as Fallible>::Error: Source,
<FunctionIndex as Archive>::Archived: CheckBytes<__C>,
<TableIndex as Archive>::Archived: CheckBytes<__C>,
<MemoryIndex as Archive>::Archived: CheckBytes<__C>,
<TagIndex as Archive>::Archived: CheckBytes<__C>,
<GlobalIndex as Archive>::Archived: CheckBytes<__C>,
source§unsafe fn check_bytes(
value: *const Self,
context: &mut __C,
) -> Result<(), <__C as Fallible>::Error>
unsafe fn check_bytes( value: *const Self, context: &mut __C, ) -> Result<(), <__C as Fallible>::Error>
Checks whether the given pointer points to a valid value within the
given context. Read more
source§impl Debug for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
impl Debug for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
source§impl PartialEq<ArchivedImportIndex> for ImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: PartialEq<FunctionIndex>,
<TableIndex as Archive>::Archived: PartialEq<TableIndex>,
<MemoryIndex as Archive>::Archived: PartialEq<MemoryIndex>,
<TagIndex as Archive>::Archived: PartialEq<TagIndex>,
<GlobalIndex as Archive>::Archived: PartialEq<GlobalIndex>,
impl PartialEq<ArchivedImportIndex> for ImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: PartialEq<FunctionIndex>,
<TableIndex as Archive>::Archived: PartialEq<TableIndex>,
<MemoryIndex as Archive>::Archived: PartialEq<MemoryIndex>,
<TagIndex as Archive>::Archived: PartialEq<TagIndex>,
<GlobalIndex as Archive>::Archived: PartialEq<GlobalIndex>,
source§fn eq(&self, other: &ArchivedImportIndex) -> bool
fn eq(&self, other: &ArchivedImportIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialEq<ImportIndex> for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: PartialEq<FunctionIndex>,
<TableIndex as Archive>::Archived: PartialEq<TableIndex>,
<MemoryIndex as Archive>::Archived: PartialEq<MemoryIndex>,
<TagIndex as Archive>::Archived: PartialEq<TagIndex>,
<GlobalIndex as Archive>::Archived: PartialEq<GlobalIndex>,
impl PartialEq<ImportIndex> for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: PartialEq<FunctionIndex>,
<TableIndex as Archive>::Archived: PartialEq<TableIndex>,
<MemoryIndex as Archive>::Archived: PartialEq<MemoryIndex>,
<TagIndex as Archive>::Archived: PartialEq<TagIndex>,
<GlobalIndex as Archive>::Archived: PartialEq<GlobalIndex>,
source§fn eq(&self, other: &ImportIndex) -> bool
fn eq(&self, other: &ImportIndex) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ArchivedImportIndex> for ImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: PartialOrd<FunctionIndex>,
<TableIndex as Archive>::Archived: PartialOrd<TableIndex>,
<MemoryIndex as Archive>::Archived: PartialOrd<MemoryIndex>,
<TagIndex as Archive>::Archived: PartialOrd<TagIndex>,
<GlobalIndex as Archive>::Archived: PartialOrd<GlobalIndex>,
impl PartialOrd<ArchivedImportIndex> for ImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: PartialOrd<FunctionIndex>,
<TableIndex as Archive>::Archived: PartialOrd<TableIndex>,
<MemoryIndex as Archive>::Archived: PartialOrd<MemoryIndex>,
<TagIndex as Archive>::Archived: PartialOrd<TagIndex>,
<GlobalIndex as Archive>::Archived: PartialOrd<GlobalIndex>,
source§fn partial_cmp(&self, other: &ArchivedImportIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &ArchivedImportIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl PartialOrd<ImportIndex> for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: PartialOrd<FunctionIndex>,
<TableIndex as Archive>::Archived: PartialOrd<TableIndex>,
<MemoryIndex as Archive>::Archived: PartialOrd<MemoryIndex>,
<TagIndex as Archive>::Archived: PartialOrd<TagIndex>,
<GlobalIndex as Archive>::Archived: PartialOrd<GlobalIndex>,
impl PartialOrd<ImportIndex> for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: PartialOrd<FunctionIndex>,
<TableIndex as Archive>::Archived: PartialOrd<TableIndex>,
<MemoryIndex as Archive>::Archived: PartialOrd<MemoryIndex>,
<TagIndex as Archive>::Archived: PartialOrd<TagIndex>,
<GlobalIndex as Archive>::Archived: PartialOrd<GlobalIndex>,
source§fn partial_cmp(&self, other: &ImportIndex) -> Option<Ordering>
fn partial_cmp(&self, other: &ImportIndex) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Portable for ArchivedImportIndexwhere
FunctionIndex: Archive,
TableIndex: Archive,
MemoryIndex: Archive,
TagIndex: Archive,
GlobalIndex: Archive,
<FunctionIndex as Archive>::Archived: Portable,
<TableIndex as Archive>::Archived: Portable,
<MemoryIndex as Archive>::Archived: Portable,
<TagIndex as Archive>::Archived: Portable,
<GlobalIndex as Archive>::Archived: Portable,
Auto Trait Implementations§
impl Freeze for ArchivedImportIndex
impl RefUnwindSafe for ArchivedImportIndex
impl Send for ArchivedImportIndex
impl Sync for ArchivedImportIndex
impl Unpin for ArchivedImportIndex
impl UnwindSafe for ArchivedImportIndex
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.