From 7b562ed643e9ce27db0b3db915e864ade294d213 Mon Sep 17 00:00:00 2001 From: "Tristan F." Date: Wed, 16 Oct 2024 22:31:53 -0700 Subject: [PATCH] fix: mention two hidden fields under compressor debug came across this in the wild, wanted to see the value of `data_to_frame_written` --- src/frame/compress.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/frame/compress.rs b/src/frame/compress.rs index cee32eb..967d640 100644 --- a/src/frame/compress.rs +++ b/src/frame/compress.rs @@ -447,6 +447,8 @@ impl fmt::Debug for FrameEncoder { .field("is_frame_open", &self.is_frame_open) .field("content_hasher", &self.content_hasher) .field("content_len", &self.content_len) + .field("compression_table", &"{ ... }") + .field("data_to_frame_written", &self.data_to_frame_written) .field("dst", &"[...]") .field("src", &"[...]") .field("src_start", &self.src_start)