[][src]Enum wasmer_runtime_c_api::import::Version

#[repr(u8)]
pub enum Version {
    Unknown,
    Latest,
    Snapshot0,
    Snapshot1,
}

Variants

Unknown

Version cannot be detected or is unknown.

Latest

Latest version. See wasmer_wasi::WasiVersion::Latest to learn more.

Snapshot0

wasi_unstable.

Snapshot1

wasi_snapshot_preview1.

Trait Implementations

impl Debug for Version[src]

impl From<u8> for Version[src]

impl PartialEq<Version> for Version[src]

impl StructuralPartialEq for Version[src]

Auto Trait Implementations

impl RefUnwindSafe for Version

impl Send for Version

impl Sync for Version

impl Unpin for Version

impl UnwindSafe for Version

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.