diff options
author | Vika <vika@fireburn.ru> | 2024-12-31 01:03:54 +0300 |
---|---|---|
committer | Vika <vika@fireburn.ru> | 2024-12-31 01:03:54 +0300 |
commit | 2e70534967447e1c34c68d21444a81b851bd4d13 (patch) | |
tree | e528acba8684fcb2ea67cc87a40836b2d5767203 /src/database/memory.rs | |
parent | fecd5b75396f02be26d75aa5db48aaef723298c5 (diff) | |
download | kittybox-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.rs | 5 |
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()) + } + } |