pub struct DecodeStatistics {
pub samples_submitted: u64,
pub samples_skipped: u64,
pub cache_hits: u64,
pub resets: u64,
pub drains: u64,
}Expand description
Observable counters for validating cache and decoder reuse behavior.
Fields§
§samples_submitted: u64§samples_skipped: u64Of those, the ones submitted only so a later frame could reference them, with the decoder told not to produce their pictures.
cache_hits: u64§resets: u64§drains: u64Trait Implementations§
Source§impl Clone for DecodeStatistics
impl Clone for DecodeStatistics
impl Copy for DecodeStatistics
Source§impl Debug for DecodeStatistics
impl Debug for DecodeStatistics
Source§impl Default for DecodeStatistics
impl Default for DecodeStatistics
impl Eq for DecodeStatistics
Source§impl PartialEq for DecodeStatistics
impl PartialEq for DecodeStatistics
impl StructuralPartialEq for DecodeStatistics
Auto Trait Implementations§
impl Freeze for DecodeStatistics
impl RefUnwindSafe for DecodeStatistics
impl Send for DecodeStatistics
impl Sync for DecodeStatistics
impl Unpin for DecodeStatistics
impl UnsafeUnpin for DecodeStatistics
impl UnwindSafe for DecodeStatistics
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