pub trait Executor {
// Required method
fn execute(&mut self, actions: &[Action]) -> Result<Vec<Value>>;
}Expand description
External world execution interface (synchronous).
Implement this trait to apply kernel decisions to the real world.
The default SandboxedExecutor only allows a fixed whitelist and returns
synthetic success payloads (no side effects).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl Executor for LoggingExecutor
Available on crate feature
std only.impl Executor for SandboxedExecutor
impl Executor for ToolGateExecutor
Available on crate feature
ureq only.