#[non_exhaustive]pub enum WasmRuntimePosture {
NotWasm,
HostRuntimeUnidentified,
}Expand description
Wasm host-runtime identification posture.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NotWasm
The current target is not Wasm.
HostRuntimeUnidentified
The guest cannot authenticate which host runtime/JIT selected it.
Implementations§
Trait Implementations§
Source§impl Clone for WasmRuntimePosture
impl Clone for WasmRuntimePosture
Source§fn clone(&self) -> WasmRuntimePosture
fn clone(&self) -> WasmRuntimePosture
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WasmRuntimePosture
Source§impl Debug for WasmRuntimePosture
impl Debug for WasmRuntimePosture
impl Eq for WasmRuntimePosture
Source§impl Hash for WasmRuntimePosture
impl Hash for WasmRuntimePosture
Source§impl PartialEq for WasmRuntimePosture
impl PartialEq for WasmRuntimePosture
impl StructuralPartialEq for WasmRuntimePosture
Auto Trait Implementations§
impl Freeze for WasmRuntimePosture
impl RefUnwindSafe for WasmRuntimePosture
impl Send for WasmRuntimePosture
impl Sync for WasmRuntimePosture
impl Unpin for WasmRuntimePosture
impl UnsafeUnpin for WasmRuntimePosture
impl UnwindSafe for WasmRuntimePosture
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