wasm_bindgen_test::__rt

Trait Termination

source
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§

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§