pub struct CompiledModule {
pub wasm_bytes: Vec<u8>,
pub manifest_json: String,
pub source_hash: String,
pub module_name: String,
}Expand description
Result of compiling a .truth file to WASM.
Fields§
§wasm_bytes: Vec<u8>Raw .wasm bytes.
manifest_json: StringManifest JSON embedded in the module.
source_hash: StringSHA-256 hash of the source .truth file content.
module_name: StringModule name derived from scenario tags or sanitized scenario name.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompiledModule
impl RefUnwindSafe for CompiledModule
impl Send for CompiledModule
impl Sync for CompiledModule
impl Unpin for CompiledModule
impl UnsafeUnpin for CompiledModule
impl UnwindSafe for CompiledModule
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