pub struct VideoPlayerStats {
pub presented_frames: u64,
pub decoded_packets: u64,
pub seek_resets: u64,
pub loop_restarts: u64,
pub seek_replay_frames: u64,
pub presentation_cache_hits: u64,
pub presentation_cache_misses: u64,
pub presentation_cache_resident: usize,
pub presentation_cache_capacity: usize,
}Expand description
Observable counters for one player lifetime.
Fields§
§presented_frames: u64Frames presented by open, stepping, ticking, or seeking.
decoded_packets: u64Packets submitted to the decoder.
seek_resets: u64Explicit or looping seek resets.
loop_restarts: u64End-of-stream wraps performed by looping playback.
seek_replay_frames: u64Frames decoded again while rebuilding history after a cache miss.
presentation_cache_hits: u64Exact display steps served from retained history.
presentation_cache_misses: u64Backward/forward history requests that required deterministic replay.
presentation_cache_resident: usizeNumber of frames currently retained in presentation history.
presentation_cache_capacity: usizeConfigured maximum number of retained presentation frames.
Trait Implementations§
Source§impl Clone for VideoPlayerStats
impl Clone for VideoPlayerStats
impl Copy for VideoPlayerStats
Source§impl Debug for VideoPlayerStats
impl Debug for VideoPlayerStats
Source§impl Default for VideoPlayerStats
impl Default for VideoPlayerStats
impl Eq for VideoPlayerStats
Source§impl PartialEq for VideoPlayerStats
impl PartialEq for VideoPlayerStats
impl StructuralPartialEq for VideoPlayerStats
Auto Trait Implementations§
impl Forget for VideoPlayerStats
impl Freeze for VideoPlayerStats
impl Move for VideoPlayerStats
impl RefUnwindSafe for VideoPlayerStats
impl Send for VideoPlayerStats
impl Sync for VideoPlayerStats
impl Unpin for VideoPlayerStats
impl UnsafeUnpin for VideoPlayerStats
impl UnwindSafe for VideoPlayerStats
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