#[repr(C)]pub struct performance_stats {
pub total_captures: u64,
pub successful_captures: u64,
pub failed_captures: u64,
pub total_bytes_captured: u64,
pub total_bytes_encoded: u64,
pub average_capture_time_ms: f64,
pub average_compression_ratio: f64,
}Available on crate feature
c-api only.Expand description
Statistics for C API
Fields§
§total_captures: u64§successful_captures: u64§failed_captures: u64§total_bytes_captured: u64§total_bytes_encoded: u64§average_capture_time_ms: f64§average_compression_ratio: f64Auto Trait Implementations§
impl Freeze for performance_stats
impl RefUnwindSafe for performance_stats
impl Send for performance_stats
impl Sync for performance_stats
impl Unpin for performance_stats
impl UnsafeUnpin for performance_stats
impl UnwindSafe for performance_stats
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