pub trait FunctionTool {
// Required methods
fn key() -> String;
fn desc() -> String;
fn inject(args: HashMap<String, Value>) -> String;
}
Required Methods§
fn key() -> String
fn desc() -> String
fn inject(args: HashMap<String, Value>) -> String
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.