pub trait Termination {
// Required method
fn into_js_result(self) -> Result<(), JsValue>;
}
Expand description
Similar to std::process::Termination
, but for wasm-bindgen tests.
Required Methods§
sourcefn into_js_result(self) -> Result<(), JsValue>
fn into_js_result(self) -> Result<(), JsValue>
Convert this into a JS result.