[−][src]Macro ketos::ketos_fn
Creates a foreign function that implicitly converts input arguments
into Rust values and converts its result into a ketos
value.
This function is added to the given scope with the given name.
ⓘThis example is not tested
fn foo(a: &str) -> Result<String, Error> { ... } ketos_fn!{ scope => "my-fn" => fn foo(a: &str) -> String }