/* This file is part of jellything (https://codeberg.org/metamuffin/jellything) which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2025 metamuffin */ pub mod filesystem; use anyhow::Result; pub(crate) trait CacheStorage: Send + Sync + 'static { fn store(&self, key: String, value: &[u8]) -> Result<()>; fn read(&self, key: &str) -> Result>>; }