Skip to main content

Module wire

Module wire 

Source
Expand description

How the macros name a type’s wire form in a generated signature.

Functions§

crosses_bare 🔒
Whether a value crosses the ABI as written, with no wire conversion.
from_wire_type 🔒
The type JavaScript passes for a parameter of type ty.
returns_bare 🔒
Whether a catch import’s Ok type is () or JsValue, which need no wrapper to convert.
split_result 🔒
Result<R, E> -> (R, E).
to_wire_type 🔒
The type JavaScript receives for a value of type ty.