improve tracing instruments on database::map

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk committed 2024-11-25 07:00:55 +00:00
1 parent 6c66391988
commit 62d560e2fb
15 files changed
+15 -38

No files matched your search

-1
View File
@@ -8,7 +8,6 @@ use crate::{keyval, keyval::KeyVal, stream};
///
/// - Result is deserialized
#[implement(super::Map)]
#[tracing::instrument(skip(self), fields(%self), level = "trace")]
pub fn rev_stream<'a, K, V>(&'a self) -> impl Stream<Item = Result<KeyVal<'_, K, V>>> + Send
where
K: Deserialize<'a> + Send,