tauri-wasm 0.2.0

The tauri framework library for pure rust frontend
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use {
    crate::{Error, invoke::IntoHeaders},
    wasm_bindgen::JsValue,
    web_sys::Headers,
};

impl IntoHeaders for Headers {
    #[inline]
    fn into_headers(self) -> Result<JsValue, Error> {
        Ok(JsValue::from(self))
    }
}