Database is now stored as an entry.

This commit is contained in:
2023-07-01 15:56:12 -04:00
parent de93ee1f2c
commit 4dad6f7a05
3 changed files with 69 additions and 23 deletions

View File

@ -27,10 +27,11 @@ pub enum ToCache {
Commit(ToCacheMsg<Store>),
}
#[derive(Debug)]
#[derive(Clone, Debug)]
pub enum FromCache {
Ok,
Str(Store),
DB(Database),
Error(MTTError),
}