pub trait ModelResponse<T, R>where
T: ModelResult<R>,
R: Send,{
// Required methods
fn result(&self) -> Option<T>;
fn results(&self) -> impl IntoIterator<Item = T>;
fn resp_meta_data(&self) -> impl ResponseMetadata;
}Required Methods§
fn result(&self) -> Option<T>
fn results(&self) -> impl IntoIterator<Item = T>
fn resp_meta_data(&self) -> impl ResponseMetadata
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.