pub struct CaptureStats {
pub frames_captured: u64,
pub overruns: u64,
pub buffer_fill: u32,
pub buffer_capacity: u32,
}Expand description
Statistics for a capture device
Fields§
§frames_captured: u64Total frames captured
overruns: u64Number of overrun events (data lost due to full buffer)
buffer_fill: u32Current buffer fill level in frames
buffer_capacity: u32Buffer capacity in frames
Trait Implementations§
Source§impl Clone for CaptureStats
impl Clone for CaptureStats
Source§fn clone(&self) -> CaptureStats
fn clone(&self) -> CaptureStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaptureStats
impl Debug for CaptureStats
Source§impl Default for CaptureStats
impl Default for CaptureStats
Source§fn default() -> CaptureStats
fn default() -> CaptureStats
Returns the “default value” for a type. Read more
impl Copy for CaptureStats
Auto Trait Implementations§
impl Freeze for CaptureStats
impl RefUnwindSafe for CaptureStats
impl Send for CaptureStats
impl Sync for CaptureStats
impl Unpin for CaptureStats
impl UnwindSafe for CaptureStats
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)