Enum wasmer_types::libcalls::ArchivedLibCall

source ·
#[repr(u8)]
pub enum ArchivedLibCall {
Show 44 variants CeilF32 = 0, CeilF64 = 1, FloorF32 = 2, FloorF64 = 3, NearestF32 = 4, NearestF64 = 5, TruncF32 = 6, TruncF64 = 7, Memory32Size = 8, ImportedMemory32Size = 9, TableCopy = 10, TableInit = 11, TableFill = 12, TableSize = 13, ImportedTableSize = 14, TableGet = 15, ImportedTableGet = 16, TableSet = 17, ImportedTableSet = 18, TableGrow = 19, ImportedTableGrow = 20, FuncRef = 21, ElemDrop = 22, Memory32Copy = 23, ImportedMemory32Copy = 24, Memory32Fill = 25, ImportedMemory32Fill = 26, Memory32Init = 27, DataDrop = 28, RaiseTrap = 29, Probestack = 30, Memory32AtomicWait32 = 31, ImportedMemory32AtomicWait32 = 32, Memory32AtomicWait64 = 33, ImportedMemory32AtomicWait64 = 34, Memory32AtomicNotify = 35, ImportedMemory32AtomicNotify = 36, Throw = 37, Rethrow = 38, AllocException = 39, DeleteException = 40, ReadException = 41, EHPersonality = 42, DebugUsize = 43,
}
Expand description

An archived LibCall

Variants§

§

CeilF32 = 0

The archived counterpart of LibCall::CeilF32

§

CeilF64 = 1

The archived counterpart of LibCall::CeilF64

§

FloorF32 = 2

The archived counterpart of LibCall::FloorF32

§

FloorF64 = 3

The archived counterpart of LibCall::FloorF64

§

NearestF32 = 4

The archived counterpart of LibCall::NearestF32

§

NearestF64 = 5

The archived counterpart of LibCall::NearestF64

§

TruncF32 = 6

The archived counterpart of LibCall::TruncF32

§

TruncF64 = 7

The archived counterpart of LibCall::TruncF64

§

Memory32Size = 8

The archived counterpart of LibCall::Memory32Size

§

ImportedMemory32Size = 9

The archived counterpart of LibCall::ImportedMemory32Size

§

TableCopy = 10

The archived counterpart of LibCall::TableCopy

§

TableInit = 11

The archived counterpart of LibCall::TableInit

§

TableFill = 12

The archived counterpart of LibCall::TableFill

§

TableSize = 13

The archived counterpart of LibCall::TableSize

§

ImportedTableSize = 14

The archived counterpart of LibCall::ImportedTableSize

§

TableGet = 15

The archived counterpart of LibCall::TableGet

§

ImportedTableGet = 16

The archived counterpart of LibCall::ImportedTableGet

§

TableSet = 17

The archived counterpart of LibCall::TableSet

§

ImportedTableSet = 18

The archived counterpart of LibCall::ImportedTableSet

§

TableGrow = 19

The archived counterpart of LibCall::TableGrow

§

ImportedTableGrow = 20

The archived counterpart of LibCall::ImportedTableGrow

§

FuncRef = 21

The archived counterpart of LibCall::FuncRef

§

ElemDrop = 22

The archived counterpart of LibCall::ElemDrop

§

Memory32Copy = 23

The archived counterpart of LibCall::Memory32Copy

§

ImportedMemory32Copy = 24

The archived counterpart of LibCall::ImportedMemory32Copy

§

Memory32Fill = 25

The archived counterpart of LibCall::Memory32Fill

§

ImportedMemory32Fill = 26

The archived counterpart of LibCall::ImportedMemory32Fill

§

Memory32Init = 27

The archived counterpart of LibCall::Memory32Init

§

DataDrop = 28

The archived counterpart of LibCall::DataDrop

§

RaiseTrap = 29

The archived counterpart of LibCall::RaiseTrap

§

Probestack = 30

The archived counterpart of LibCall::Probestack

§

Memory32AtomicWait32 = 31

The archived counterpart of LibCall::Memory32AtomicWait32

§

ImportedMemory32AtomicWait32 = 32

The archived counterpart of LibCall::ImportedMemory32AtomicWait32

§

Memory32AtomicWait64 = 33

The archived counterpart of LibCall::Memory32AtomicWait64

§

ImportedMemory32AtomicWait64 = 34

The archived counterpart of LibCall::ImportedMemory32AtomicWait64

§

Memory32AtomicNotify = 35

The archived counterpart of LibCall::Memory32AtomicNotify

§

ImportedMemory32AtomicNotify = 36

The archived counterpart of LibCall::ImportedMemory32AtomicNotify

§

Throw = 37

The archived counterpart of LibCall::Throw

§

Rethrow = 38

The archived counterpart of LibCall::Rethrow

§

AllocException = 39

The archived counterpart of LibCall::AllocException

§

DeleteException = 40

The archived counterpart of LibCall::DeleteException

§

ReadException = 41

The archived counterpart of LibCall::ReadException

§

EHPersonality = 42

The archived counterpart of LibCall::EHPersonality

§

DebugUsize = 43

The archived counterpart of LibCall::DebugUsize

Trait Implementations§

source§

impl<__C: Fallible + ?Sized> CheckBytes<__C> for ArchivedLibCall
where <__C as Fallible>::Error: Source,

source§

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 ArchivedLibCall

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for ArchivedLibCall

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq<ArchivedLibCall> for LibCall

source§

fn eq(&self, other: &ArchivedLibCall) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq<LibCall> for ArchivedLibCall

source§

fn eq(&self, other: &LibCall) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl PartialEq for ArchivedLibCall

source§

fn eq(&self, other: &ArchivedLibCall) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Eq for ArchivedLibCall

source§

impl Portable for ArchivedLibCall

source§

impl StructuralPartialEq for ArchivedLibCall

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> ArchivePointee for T

§

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.
§

fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata

Converts some archived metadata to the pointer metadata for itself.
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

§

fn equivalent(&self, key: &K) -> bool

Compare self to key and return true if they are equal.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

§

impl<T> LayoutRaw for T

§

fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>

Returns the layout of the type.
§

impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2
where T: SharedNiching<N1, N2>, N1: Niching<T>, N2: Niching<T>,

§

unsafe fn is_niched(niched: *const NichedOption<T, N1>) -> bool

Returns whether the given value has been niched. Read more
§

fn resolve_niched(out: Place<NichedOption<T, N1>>)

Writes data to out indicating that a T is niched.
§

impl<T> Pointee for T

§

type Metadata = ()

The metadata type for pointers and references to this type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.