pub struct TranscodeStats {
pub total_packets: u64,
pub decoded_packets: u64,
pub skipped_decode_errors: u64,
pub skipped_io_errors: u64,
pub reset_required_count: u64,
}Expand description
Audio transcoding statistics
Fields§
§total_packets: u64Total number of packets processed
decoded_packets: u64Number of successfully decoded packets
skipped_decode_errors: u64Number of packets skipped due to DecodeError
skipped_io_errors: u64Number of packets skipped due to IoError
reset_required_count: u64Number of times reset was required
Implementations§
Source§impl TranscodeStats
impl TranscodeStats
Sourcepub fn success_rate(&self) -> f64
pub fn success_rate(&self) -> f64
Calculate decoding success rate
Auto Trait Implementations§
impl Freeze for TranscodeStats
impl RefUnwindSafe for TranscodeStats
impl Send for TranscodeStats
impl Sync for TranscodeStats
impl Unpin for TranscodeStats
impl UnwindSafe for TranscodeStats
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