diff options
Diffstat (limited to 'src/database/memory.rs')
-rw-r--r-- | src/database/memory.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/database/memory.rs b/src/database/memory.rs index 6339e7a..564f451 100644 --- a/src/database/memory.rs +++ b/src/database/memory.rs @@ -16,6 +16,10 @@ pub struct MemoryStorage { #[async_trait] impl Storage for MemoryStorage { + async fn categories(&self, _url: &str) -> Result<Vec<String>> { + unimplemented!() + } + async fn post_exists(&self, url: &str) -> Result<bool> { return Ok(self.mapping.read().await.contains_key(url)); } |