#[non_exhaustive]pub struct DecoderStats {
pub frames: u64,
pub skipped: u64,
pub skipped_compressed: u64,
pub inflated_bytes: u64,
}Expand description
Decoder counters (useful for profiling what a server sends).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.frames: u64Frames split off the stream.
skipped: u64Frames dropped by the filter.
skipped_compressed: u64Compressed frames dropped after inflating only the packet id.
inflated_bytes: u64Bytes produced by inflation.
Trait Implementations§
Source§impl Clone for DecoderStats
impl Clone for DecoderStats
impl Copy for DecoderStats
Source§impl Debug for DecoderStats
impl Debug for DecoderStats
Source§impl Default for DecoderStats
impl Default for DecoderStats
impl Eq for DecoderStats
Source§impl PartialEq for DecoderStats
impl PartialEq for DecoderStats
impl StructuralPartialEq for DecoderStats
Auto Trait Implementations§
impl Forget for DecoderStats
impl Freeze for DecoderStats
impl Move for DecoderStats
impl RefUnwindSafe for DecoderStats
impl Send for DecoderStats
impl Sync for DecoderStats
impl Unpin for DecoderStats
impl UnsafeUnpin for DecoderStats
impl UnwindSafe for DecoderStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more