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§