Trait Fetch
tote
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
Tote
fn fetch() -> Result<T, Box<dyn Error>>
Strategy for fetching data to cache