Wasmer::Wasi::Version
Inherits Enum < Comparable < Value < Object
Represents the possible WASI versions.
Constants
Latest = 0
Latest version. It's a “floating” version, i.e. it's an alias to the latest version. 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.
Snapshot0 = 1
Represents the wasi unstable version
Snapshot1 = 2
Represents the wasi snapshot preview1 version
Invalid = -1
Represents an invalid version