Struct wasmer_wast_asml_fork::WasiTest[][src]

pub struct WasiTest<'a> { /* fields omitted */ }

Crate holding metadata parsed from the WASI WAST about the test to be run.

Implementations

impl<'a> WasiTest<'a>[src]

pub fn lex_string(wast: &'a str) -> Result<ParseBuffer<'a>>[src]

Turn a WASI WAST string into a list of tokens.

pub fn parse_tokens(tokens: &'a ParseBuffer<'a>) -> Result<Self>[src]

Turn a WASI WAST list of tokens into a WasiTest struct.

pub fn run(&self, store: &Store, base_path: &str) -> Result<bool>[src]

Execute the WASI test and assert.

Trait Implementations

impl<'a> Clone for WasiTest<'a>[src]

impl<'a> Debug for WasiTest<'a>[src]

impl<'a> Hash for WasiTest<'a>[src]

impl<'a> Parse<'a> for WasiTest<'a>[src]

Auto Trait Implementations

impl<'a> RefUnwindSafe for WasiTest<'a>[src]

impl<'a> Send for WasiTest<'a>[src]

impl<'a> Sync for WasiTest<'a>[src]

impl<'a> Unpin for WasiTest<'a>[src]

impl<'a> UnwindSafe for WasiTest<'a>[src]

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> Instrument for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,