pub trait Termination {
    fn into_js_result(self) -> Result<(), JsValue>;
}
Expand description

Similar to std::process::Termination, but for wasm-bindgen tests.

Required Methods§

source

fn into_js_result(self) -> Result<(), JsValue>

Convert this into a JS result.

Implementations on Foreign Types§

source§

impl Termination for ()

source§

impl<E: Debug> Termination for Result<(), E>

Implementors§