Attribute Macros

  • encoding is used to add a new serde encoder/decoder. It accepts two parameters:
  • host_fn is used to define a host function that will be callable from within a plugin
  • plugin_fn is used to define a function that will be exported by a plugin