pub enum Trampoline {
Show 54 variants
LowerImport {
import: RuntimeImportIndex,
options: OptionsId,
lower_ty: TypeFuncIndex,
},
Transcoder {
op: Transcode,
from: MemoryId,
from64: bool,
to: MemoryId,
to64: bool,
},
AlwaysTrap,
ResourceNew {
instance: RuntimeComponentInstanceIndex,
ty: TypeResourceTableIndex,
},
ResourceRep {
instance: RuntimeComponentInstanceIndex,
ty: TypeResourceTableIndex,
},
ResourceDrop {
instance: RuntimeComponentInstanceIndex,
ty: TypeResourceTableIndex,
},
BackpressureSet {
instance: RuntimeComponentInstanceIndex,
},
BackpressureInc {
instance: RuntimeComponentInstanceIndex,
},
BackpressureDec {
instance: RuntimeComponentInstanceIndex,
},
TaskReturn {
instance: RuntimeComponentInstanceIndex,
results: TypeTupleIndex,
options: OptionsId,
},
TaskCancel {
instance: RuntimeComponentInstanceIndex,
},
WaitableSetNew {
instance: RuntimeComponentInstanceIndex,
},
WaitableSetWait {
instance: RuntimeComponentInstanceIndex,
options: OptionsId,
},
WaitableSetPoll {
instance: RuntimeComponentInstanceIndex,
options: OptionsId,
},
WaitableSetDrop {
instance: RuntimeComponentInstanceIndex,
},
WaitableJoin {
instance: RuntimeComponentInstanceIndex,
},
ThreadYield {
instance: RuntimeComponentInstanceIndex,
cancellable: bool,
},
SubtaskDrop {
instance: RuntimeComponentInstanceIndex,
},
SubtaskCancel {
instance: RuntimeComponentInstanceIndex,
async_: bool,
},
StreamNew {
instance: RuntimeComponentInstanceIndex,
ty: TypeStreamTableIndex,
},
StreamRead {
instance: RuntimeComponentInstanceIndex,
ty: TypeStreamTableIndex,
options: OptionsId,
},
StreamWrite {
instance: RuntimeComponentInstanceIndex,
ty: TypeStreamTableIndex,
options: OptionsId,
},
StreamCancelRead {
instance: RuntimeComponentInstanceIndex,
ty: TypeStreamTableIndex,
async_: bool,
},
StreamCancelWrite {
instance: RuntimeComponentInstanceIndex,
ty: TypeStreamTableIndex,
async_: bool,
},
StreamDropReadable {
instance: RuntimeComponentInstanceIndex,
ty: TypeStreamTableIndex,
},
StreamDropWritable {
instance: RuntimeComponentInstanceIndex,
ty: TypeStreamTableIndex,
},
FutureNew {
instance: RuntimeComponentInstanceIndex,
ty: TypeFutureTableIndex,
},
FutureRead {
instance: RuntimeComponentInstanceIndex,
ty: TypeFutureTableIndex,
options: OptionsId,
},
FutureWrite {
instance: RuntimeComponentInstanceIndex,
ty: TypeFutureTableIndex,
options: OptionsId,
},
FutureCancelRead {
instance: RuntimeComponentInstanceIndex,
ty: TypeFutureTableIndex,
async_: bool,
},
FutureCancelWrite {
instance: RuntimeComponentInstanceIndex,
ty: TypeFutureTableIndex,
async_: bool,
},
FutureDropReadable {
instance: RuntimeComponentInstanceIndex,
ty: TypeFutureTableIndex,
},
FutureDropWritable {
instance: RuntimeComponentInstanceIndex,
ty: TypeFutureTableIndex,
},
ErrorContextNew {
instance: RuntimeComponentInstanceIndex,
ty: TypeComponentLocalErrorContextTableIndex,
options: OptionsId,
},
ErrorContextDebugMessage {
instance: RuntimeComponentInstanceIndex,
ty: TypeComponentLocalErrorContextTableIndex,
options: OptionsId,
},
ErrorContextDrop {
instance: RuntimeComponentInstanceIndex,
ty: TypeComponentLocalErrorContextTableIndex,
},
ResourceTransferOwn,
ResourceTransferBorrow,
ResourceEnterCall,
ResourceExitCall,
PrepareCall {
memory: Option<MemoryId>,
},
SyncStartCall {
callback: Option<CallbackId>,
},
AsyncStartCall {
callback: Option<CallbackId>,
post_return: Option<PostReturnId>,
},
FutureTransfer,
StreamTransfer,
ErrorContextTransfer,
ContextGet {
instance: RuntimeComponentInstanceIndex,
slot: u32,
},
ContextSet {
instance: RuntimeComponentInstanceIndex,
slot: u32,
},
ThreadIndex,
ThreadNewIndirect {
instance: RuntimeComponentInstanceIndex,
start_func_ty_idx: ComponentTypeIndex,
start_func_table_id: TableId,
},
ThreadSwitchTo {
instance: RuntimeComponentInstanceIndex,
cancellable: bool,
},
ThreadSuspend {
instance: RuntimeComponentInstanceIndex,
cancellable: bool,
},
ThreadResumeLater {
instance: RuntimeComponentInstanceIndex,
},
ThreadYieldTo {
instance: RuntimeComponentInstanceIndex,
cancellable: bool,
},
}Expand description
Same as info::Trampoline
Variants§
LowerImport
Transcoder
AlwaysTrap
ResourceNew
ResourceRep
ResourceDrop
BackpressureSet
Fields
§
instance: RuntimeComponentInstanceIndexBackpressureInc
Fields
§
instance: RuntimeComponentInstanceIndexBackpressureDec
Fields
§
instance: RuntimeComponentInstanceIndexTaskReturn
TaskCancel
Fields
§
instance: RuntimeComponentInstanceIndexWaitableSetNew
Fields
§
instance: RuntimeComponentInstanceIndexWaitableSetWait
WaitableSetPoll
WaitableSetDrop
Fields
§
instance: RuntimeComponentInstanceIndexWaitableJoin
Fields
§
instance: RuntimeComponentInstanceIndexThreadYield
SubtaskDrop
Fields
§
instance: RuntimeComponentInstanceIndexSubtaskCancel
StreamNew
StreamRead
StreamWrite
StreamCancelRead
StreamCancelWrite
StreamDropReadable
StreamDropWritable
FutureNew
FutureRead
FutureWrite
FutureCancelRead
FutureCancelWrite
FutureDropReadable
FutureDropWritable
ErrorContextNew
Fields
§
instance: RuntimeComponentInstanceIndexErrorContextDebugMessage
Fields
§
instance: RuntimeComponentInstanceIndexErrorContextDrop
ResourceTransferOwn
ResourceTransferBorrow
ResourceEnterCall
ResourceExitCall
PrepareCall
SyncStartCall
Fields
§
callback: Option<CallbackId>AsyncStartCall
FutureTransfer
StreamTransfer
ErrorContextTransfer
ContextGet
ContextSet
ThreadIndex
ThreadNewIndirect
ThreadSwitchTo
ThreadSuspend
ThreadResumeLater
Fields
§
instance: RuntimeComponentInstanceIndexThreadYieldTo
Trait Implementations§
Source§impl Clone for Trampoline
impl Clone for Trampoline
Source§fn clone(&self) -> Trampoline
fn clone(&self) -> Trampoline
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for Trampoline
impl Hash for Trampoline
Source§impl PartialEq for Trampoline
impl PartialEq for Trampoline
impl Eq for Trampoline
impl StructuralPartialEq for Trampoline
Auto Trait Implementations§
impl Freeze for Trampoline
impl RefUnwindSafe for Trampoline
impl Send for Trampoline
impl Sync for Trampoline
impl Unpin for Trampoline
impl UnwindSafe for Trampoline
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
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
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.