Enum Inlining
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§
§impl<'de> Deserialize<'de> for Inlining
impl<'de> Deserialize<'de> for Inlining
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<Inlining, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Inlining, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
§impl Serialize for Inlining
impl Serialize for Inlining
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
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.§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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more