Module flutter_rust_bridge::handler
source · Expand description
Wrappers and executors for Rust functions.
Structs
- The default error handler used by generated code.
- The simple handler uses a simple thread pool to execute tasks.
- The default executor used. It creates an internal thread pool, and each call to a Rust function is handled by a different thread.
- Supporting information to identify a function’s operating mode.
Enums
- Errors that occur from normal code execution.
- The types of return values for a particular Rust function.
Traits
- A handler model that sends back the error to a Dart
SendPort
. - An executor model for Rust functions.
- Provide your own handler to customize how to execute your function calls, etc.
Type Aliases
- The default handler used by the generated code.