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§
§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 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