Enum wasmer_c_api::wasm_c_api::wasi::wasi_version_t [−][src]
#[repr(C)]
pub enum wasi_version_t {
INVALID_VERSION,
LATEST,
SNAPSHOT0,
SNAPSHOT1,
}Expand description
The version of WASI. This is determined by the imports namespace string.
Variants
An invalid version.
Latest version.
It’s a “floating” version, i.e. it’s an alias to the latest
version (for the moment, Snapshot1). Using this version is a
way to ensure that modules will run only if they come with the
latest WASI version (in case of security issues for instance),
by just updating the runtime.
Note that this version is never returned by an API. It is provided only by the user.
wasi_unstable.
wasi_snapshot_preview1.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for wasi_version_timpl Send for wasi_version_timpl Sync for wasi_version_timpl Unpin for wasi_version_timpl UnwindSafe for wasi_version_tBlanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::MetadataConverts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
Compare self to key and return true if they are equal.
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V