about summary refs log tree commit diff
path: root/src/database/memory.rs
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2024-12-31 01:03:54 +0300
committerVika <vika@fireburn.ru>2024-12-31 01:03:54 +0300
commit2e70534967447e1c34c68d21444a81b851bd4d13 (patch)
treee528acba8684fcb2ea67cc87a40836b2d5767203 /src/database/memory.rs
parentfecd5b75396f02be26d75aa5db48aaef723298c5 (diff)
downloadkittybox-2e70534967447e1c34c68d21444a81b851bd4d13.tar.zst
Storage::all_posts to return all posts for ?q=source w/o filters
Change-Id: I5d1220b6a2abbcb460bdb13c088c3dbd7e4d9856
Diffstat (limited to 'src/database/memory.rs')
-rw-r--r--src/database/memory.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/database/memory.rs b/src/database/memory.rs
index f799f2c..412deef 100644
--- a/src/database/memory.rs
+++ b/src/database/memory.rs
@@ -239,4 +239,9 @@ impl Storage for MemoryStorage {
         todo!()
     }
 
+    async fn all_posts<'this>(&'this self, user: &url::Url) -> Result<impl futures::Stream<Item = serde_json::Value> + Send + 'this> {
+        todo!();
+        Ok(futures::stream::pending())
+    }
+
 }