ModelResponse

Trait ModelResponse 

Source
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§

Source

fn result(&self) -> Option<T>

Source

fn results(&self) -> impl IntoIterator<Item = T>

Source

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.

Implementors§