pub trait IQFunction<P>where
P: Serialize,{
// Required methods
fn parameters(self) -> FunctionParameters;
async fn apply(
self,
request: FunctionPostRequest<P>,
) -> Result<FunctionPostResponse, IQEngineError>;
}Required Methods§
fn parameters(self) -> FunctionParameters
async fn apply( self, request: FunctionPostRequest<P>, ) -> Result<FunctionPostResponse, IQEngineError>
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.