pub enum Inlining {
Yes,
InterModuleAndIntraGc,
InterModule,
Intrinsics,
No,
}Expand description
Inlining modes supported by Wasmtime.
Variants§
Yes
All inlining is enabled wherever possible.
This includes inter-module inlining (across modules) as well as intra-module inlining (within a module).
Note that backtraces may omit inlined stack frames.
InterModuleAndIntraGc
Inter-module inlining (across modules) is allowed, but intra-module (within a module) is only allowed when the module is using GC.
Note that backtraces may omit inlined stack frames.
InterModule
Inter-module inlining (across modules) is allowed, but intra-module (within a module) is not allowed.
Note that backtraces may omit inlined stack frames.
Intrinsics
No module inlining is allowed, either inter- or intra-module. Only inlining Wasmtime’s intrinsics are allowed.
This option, for example, never emits WebAssembly stack frames from backtraces.
No
Inlining is disabled entirely.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Inlining
impl<'de> Deserialize<'de> for Inlining
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Copy for Inlining
impl Eq for Inlining
impl StructuralPartialEq for Inlining
Auto Trait Implementations§
impl Freeze for Inlining
impl RefUnwindSafe for Inlining
impl Send for Inlining
impl Sync for Inlining
impl Unpin for Inlining
impl UnsafeUnpin for Inlining
impl UnwindSafe for Inlining
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
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
§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
key and return true if they are equal.