Re-exports§
pub use worker::WrappedWorker;
Modules§
Structs§
- A handle to both a closure in Rust as well as JS closure which will invoke the Rust closure.
- Convenience type for use on exported
fn() -> Result<T, JsError>
functions, where you wish to throw a JavaScriptError
object. - Representation of an object owned by JS.
Traits§
- Trait that makes a type able to be decoded, akin to serde’s
DeserializeOwned
trait. - Any source that can be encoded. This trait should be implemented for all types that you want to be able to use with any of the
encode_with
methods. - A trait for checked and unchecked casting between JS types.
- An extension trait for
Option<T>
andResult<T, E>
for unwrapping theT
value, or throwing a JS error if it is not available.