pub struct EncoderStats {
pub buffer_capacity: usize,
pub buffer_size: usize,
pub encodings_performed: u64,
pub total_bytes_encoded: u64,
}Expand description
Performance statistics for the encoder
Fields§
§buffer_capacity: usizeCurrent buffer capacity
buffer_size: usizeCurrent buffer size
encodings_performed: u64Number of encodings performed
total_bytes_encoded: u64Total bytes encoded
Trait Implementations§
Source§impl Clone for EncoderStats
impl Clone for EncoderStats
Source§fn clone(&self) -> EncoderStats
fn clone(&self) -> EncoderStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EncoderStats
impl Debug for EncoderStats
Source§impl Default for EncoderStats
impl Default for EncoderStats
Source§fn default() -> EncoderStats
fn default() -> EncoderStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EncoderStats
impl RefUnwindSafe for EncoderStats
impl Send for EncoderStats
impl Sync for EncoderStats
impl Unpin for EncoderStats
impl UnsafeUnpin for EncoderStats
impl UnwindSafe for EncoderStats
Blanket Implementations§
impl<T> Allocation for T
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