Skip to main content

Module value

Module value 

Source

Structs§

VmAtomicHandle
An atomic integer handle for the VM.
VmChannelHandle
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.
VmTaskHandle
A spawned async task handle with cancellation support.

Enums§

ErrorCategory
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 within max_dist edits.
compare_values
error_to_category
Extract error category from a VmError.
values_equal

Type Aliases§

VmAsyncBuiltinFn
An async builtin function for the VM.
VmBuiltinFn
Sync builtin function for the VM.
VmJoinHandle
The raw join handle type for spawned tasks.