Attribute Macro extism_pdk::plugin_fn
source · #[plugin_fn]
Expand description
plugin_fn
is used to define a function that will be exported by a plugin
It should be added to a function you would like to export, the function should
accept a parameter that implements extism_pdk::FromBytes
and return a
extism_pdk::FnResult
that contains a value that implements
extism_pdk::ToBytes
.