pub struct StreamStats {
pub total_frames: u64,
pub dropped_frames: u64,
pub current_fps: f64,
pub buffer_size: usize,
pub buffered_frames: usize,
pub uptime_seconds: u64,
}Expand description
Stream statistics.
Fields§
§total_frames: u64Total number of captured frames.
dropped_frames: u64Number of frames dropped because the buffer was full.
current_fps: f64Current frame rate.
buffer_size: usizeCurrent buffer capacity.
buffered_frames: usizeCurrent number of frames in the buffer.
uptime_seconds: u64Running time in seconds.
Implementations§
Source§impl StreamStats
impl StreamStats
Trait Implementations§
Source§impl Clone for StreamStats
impl Clone for StreamStats
Source§impl Debug for StreamStats
impl Debug for StreamStats
Auto Trait Implementations§
impl Forget for StreamStats
impl Freeze for StreamStats
impl RefUnwindSafe for StreamStats
impl Send for StreamStats
impl Sync for StreamStats
impl Unpin for StreamStats
impl UnsafeUnpin for StreamStats
impl UnwindSafe for StreamStats
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