mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
tweak tracing spans; inlines
db deserializer tracing instrument cover Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
685b127f99
commit
02f19cf951
16 files changed
+146
-34
No files matched your search
@@ -22,7 +22,9 @@ where
|
||||
Ok(buf)
|
||||
}
|
||||
|
||||
/// Serialize T into Writer W
|
||||
#[inline]
|
||||
#[cfg_attr(unabridged, tracing::instrument(level = "trace", skip_all))]
|
||||
pub fn serialize<'a, W, T>(out: &'a mut W, val: T) -> Result<&'a [u8]>
|
||||
where
|
||||
W: Write + AsRef<[u8]> + 'a,
|
||||
|
||||
Reference in new issue
Block a user