pub trait CogResponse: Send {
// Required method
fn into_response(
self,
request: Request,
) -> impl Future<Output = Result<Value>> + Send;
}
Expand description
A response from a Cog model
Required Methods§
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.