Skip to main content

impl_wire_record

Macro impl_wire_record 

Source
macro_rules! impl_wire_record {
    ($ty:ty, input) => { ... };
    ($ty:ty) => { ... };
}
Expand description

Implements the traits for a serde DTO, which crosses as Ts<Self>.

Used by #[wasm_record]; there is no reason to call it directly. impl_wire_record!(T, input) implements only FromWasm, for #[wasm_record(input)].