KiwiCodec.RustlerGenerator.Skip (kiwi_codec v0.2.2)

Copy Markdown View Source

Generates generic Kiwi schema skip decoders for Rustler native backends.

Skip decoders consume encoded values without allocating decoded Elixir terms. They are schema-generic and intended for callers that project only selected fields from a Kiwi payload.

Summary

Functions

field_expr(map, definition_map)

@spec field_expr(map(), map()) :: iodata()

fragments(definitions, definition_map)

@spec fragments([KiwiCodec.Schema.definition()], map()) :: [RustQ.Rust.Fragment.t()]

message_arm(field, definition_map)

@spec message_arm(map(), map()) :: RustQ.Rust.Fragment.t()