Structs§
- VmAtomic
Handle - An atomic integer handle for the VM.
- VmChannel
Handle - A channel handle for the VM (uses tokio mpsc).
- VmClosure
- A compiled closure value.
- VmEnv
- VM environment for variable storage.
- VmGenerator
- A generator object: lazily produces values via yield. The generator body runs as a spawned task that sends values through a channel.
- VmTask
Handle - A spawned async task handle with cancellation support.
Enums§
- Error
Category - Error categories for structured error handling in agent orchestration.
- VmError
- VmValue
- VM runtime value.
Functions§
- categorized_
error - Create a categorized error conveniently.
- closest_
match - Find the closest match from a list of candidates using Levenshtein distance.
Returns
Some(suggestion)if a candidate is withinmax_distedits. - compare_
values - error_
to_ category - Extract error category from a VmError.
- values_
equal
Type Aliases§
- VmAsync
Builtin Fn - An async builtin function for the VM.
- VmBuiltin
Fn - Sync builtin function for the VM.
- VmJoin
Handle - The raw join handle type for spawned tasks.