FetchList

Trait FetchList 

Source
pub trait FetchList<Model> {
    // Required method
    fn fetch_list(&self) -> Result<Vec<Model>, StorageError>;
}
Expand description

Fetches all instances of Model from the data store. Returns an empty list if no items are found or an error if the fetch fails.

Required Methods§

Source

fn fetch_list(&self) -> Result<Vec<Model>, StorageError>

Implementors§