pub trait Storage<T>: Send + Sync { // Required methods fn load(&self) -> Result<T>; fn save(&self, data: &T) -> Result<()>; fn path(&self) -> PathBuf; }
Load data from storage
Save data to storage
Get the storage path