pub struct BufferStats {
pub total_allocations: u64,
pub buffer_reuses: u64,
pub max_buffer_size_used: usize,
pub total_bytes_encoded: u64,
pub total_bytes_decoded: u64,
}Expand description
Buffer usage statistics
Fields§
§total_allocations: u64§buffer_reuses: u64§max_buffer_size_used: usize§total_bytes_encoded: u64§total_bytes_decoded: u64Trait Implementations§
Source§impl Debug for BufferStats
impl Debug for BufferStats
Source§impl Default for BufferStats
impl Default for BufferStats
Source§fn default() -> BufferStats
fn default() -> BufferStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BufferStats
impl RefUnwindSafe for BufferStats
impl Send for BufferStats
impl Sync for BufferStats
impl Unpin for BufferStats
impl UnsafeUnpin for BufferStats
impl UnwindSafe for BufferStats
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