1
0
Fork 0
mirror of https://forgejo.ellis.link/continuwuation/continuwuity.git synced 2025-07-30 11:48:31 +00:00

improve tracing instruments on database::map

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-11-25 06:26:34 +00:00
parent 6c66391988
commit 62d560e2fb
15 changed files with 15 additions and 38 deletions

View file

@ -5,7 +5,6 @@ use serde::Deserialize;
use crate::{keyval, keyval::Key, stream};
#[implement(super::Map)]
#[tracing::instrument(skip(self), fields(%self), level = "trace")]
pub fn rev_keys<'a, K>(&'a self) -> impl Stream<Item = Result<Key<'_, K>>> + Send
where
K: Deserialize<'a> + Send,