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.