Trait CacheExt

Source
pub trait CacheExt<R: Runtime> {
    // Required method
    fn cache(&self) -> &Cache<R>;
}
Expand description

Extensions to tauri::App, tauri::AppHandle and tauri::Window to access the cache APIs.

Required Methods§

Source

fn cache(&self) -> &Cache<R>

Implementors§

Source§

impl<R: Runtime, T: Manager<R>> CacheExt<R> for T