AST helpers for composing Rustler term decoding expressions.
Summary
Functions
Builds an atom expression used as a decode key.
Builds a fallible options-helper call.
Fetches and decodes an optional term as Option<type>.
Converts an optional expression into NifResult with BadArg when absent.
Builds an options-helper call whose decoded option must be present.
Fetches a required term from decoded options.
Fetches and decodes a required term as type.
Functions
Builds an atom expression used as a decode key.
Builds a fallible options-helper call.
Fetches and decodes an optional term as Option<type>.
Converts an optional expression into NifResult with BadArg when absent.
Builds an options-helper call whose decoded option must be present.
Fetches a required term from decoded options.
Fetches and decodes a required term as type.