Expand description

Low-level support for calling rust functions

This module helps the scaffolding code make calls to rust functions and pass back the result to the FFI bindings code.

It handles:

  • Catching panics
  • Adapting Result<> types into either a return value or an error

Structs

Represents the success/error of a rust call

Traits

Functions

Wrap a rust function call and return the result directly

Wrap a rust function call that returns a Result<_, RustBuffer>