pub trait ApiAsyncHandler<T> {
// Required methods
fn get_request(models: &mut HashMap<String, Option<ApiModel>>) -> ApiRequest;
fn get_response(
models: &mut HashMap<String, Option<ApiModel>>,
) -> ApiResponse;
}
Required Methods§
fn get_request(models: &mut HashMap<String, Option<ApiModel>>) -> ApiRequest
fn get_response(models: &mut HashMap<String, Option<ApiModel>>) -> ApiResponse
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.