pub trait Calls: Send + Sync {
// Required method
fn call<'a>(
&'a self,
sig: &'a QualifiedName,
args: Vec<Value>,
) -> BoxFuture<'a, Result<Value, ExecError>>;
}Expand description
How a body reaches other signatures.
The interpreter does not choose implementations; it asks. That keeps policy in one place and means a body written once benefits from a faster proof appearing later.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".