Struct wasi_test_generator::wasitests::WasiTest
source · pub struct WasiTest {
pub wasm_prog_name: String,
pub stdout: String,
pub stderr: String,
pub result: i64,
pub options: WasiOptions,
}
Expand description
This is the structure of the .wast
file
Fields§
§wasm_prog_name: String
The name of the wasm module to run
stdout: String
The program expected output on stdout
stderr: String
The program expected output on stderr
result: i64
The program expected result
options: WasiOptions
The program options
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for WasiTest
impl<'de> Deserialize<'de> for WasiTest
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for WasiTest
impl RefUnwindSafe for WasiTest
impl Send for WasiTest
impl Sync for WasiTest
impl Unpin for WasiTest
impl UnwindSafe for WasiTest
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