pub enum Command<'a> {
Show 16 variants
Module {
line: u32,
name: Option<Cow<'a, str>>,
file: WasmFile<'a>,
},
ModuleDefinition {
line: u32,
name: Option<Cow<'a, str>>,
file: WasmFile<'a>,
},
ModuleInstance {
line: u32,
instance: Option<Cow<'a, str>>,
module: Option<Cow<'a, str>>,
},
AssertMalformed {
line: u32,
file: WasmFile<'a>,
text: Cow<'a, str>,
},
AssertInvalid {
line: u32,
file: WasmFile<'a>,
text: Cow<'a, str>,
},
Register {
line: u32,
name: Option<Cow<'a, str>>,
as_: Cow<'a, str>,
},
AssertUnlinkable {
line: u32,
file: WasmFile<'a>,
text: Cow<'a, str>,
},
AssertReturn {
line: u32,
action: Action<'a>,
expected: Vec<Const<'a>>,
},
Action {
line: u32,
action: Action<'a>,
},
AssertTrap {
line: u32,
action: Action<'a>,
text: Cow<'a, str>,
},
AssertExhaustion {
line: u32,
action: Action<'a>,
text: Cow<'a, str>,
},
AssertException {
line: u32,
action: Action<'a>,
},
AssertSuspension {
line: u32,
action: Action<'a>,
text: Cow<'a, str>,
},
AssertUninstantiable {
line: u32,
file: WasmFile<'a>,
text: Cow<'a, str>,
},
Thread {
line: u32,
name: Cow<'a, str>,
shared_module: Option<Cow<'a, str>>,
commands: Vec<Command<'a>>,
},
Wait {
line: u32,
thread: Cow<'a, str>,
},
}Variants§
Module
ModuleDefinition
ModuleInstance
AssertMalformed
AssertInvalid
Register
AssertUnlinkable
AssertReturn
Action
AssertTrap
AssertExhaustion
AssertException
AssertSuspension
AssertUninstantiable
Thread
Wait
Implementations§
Trait Implementations§
Source§impl<'de: 'a, 'a> Deserialize<'de> for Command<'a>
impl<'de: 'a, 'a> Deserialize<'de> for Command<'a>
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<'a> Freeze for Command<'a>
impl<'a> RefUnwindSafe for Command<'a>
impl<'a> Send for Command<'a>
impl<'a> Sync for Command<'a>
impl<'a> Unpin for Command<'a>
impl<'a> UnwindSafe for Command<'a>
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