pub trait Invoker: Sync {
// Required method
fn invoke(
&self,
operation_id: &str,
params: Value,
options: InvokeOptions,
) -> impl Future<Output = Result<Value>> + Send;
}Expand description
A generated method calls exactly one canonical operation through this seam. Implementations own routing, authentication, session binding and I/O.
Required Methods§
fn invoke( &self, operation_id: &str, params: Value, options: InvokeOptions, ) -> impl Future<Output = Result<Value>> + Send
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".