[][src]Trait tote::Fetch

pub trait Fetch<T> {
    fn fetch() -> Result<T, Box<dyn Error>>;
}

A trait provided to allow Tote to fetch the data when no cache exists or cache is expired

Required methods

fn fetch() -> Result<T, Box<dyn Error>>

Strategy for fetching data to cache

Loading content...

Implementors

Loading content...