From 2e70534967447e1c34c68d21444a81b851bd4d13 Mon Sep 17 00:00:00 2001 From: Vika Date: Tue, 31 Dec 2024 01:03:54 +0300 Subject: Storage::all_posts to return all posts for ?q=source w/o filters Change-Id: I5d1220b6a2abbcb460bdb13c088c3dbd7e4d9856 --- src/database/memory.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/database/memory.rs') 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 + Send + 'this> { + todo!(); + Ok(futures::stream::pending()) + } + } -- cgit 1.4.1