pub struct BufferStats {
pub current_delay_ms: u32,
pub packet_count: usize,
pub max_delay_seen_ms: u32,
pub min_delay_seen_ms: u32,
pub late_packet_count: u64,
pub overflow_discard_count: u64,
pub average_occupancy: f32,
pub underrun_count: u64,
}Expand description
Buffer statistics
Fields§
§current_delay_ms: u32Current buffer delay in milliseconds
packet_count: usizeCurrent number of packets in buffer
max_delay_seen_ms: u32Maximum delay seen in the current session
min_delay_seen_ms: u32Minimum delay seen in the current session
late_packet_count: u64Number of late packets (arrived too late to be used)
overflow_discard_count: u64Number of packets discarded due to buffer overflow
average_occupancy: f32Average occupancy percentage
underrun_count: u64Number of buffer underruns
Trait Implementations§
Source§impl Clone for BufferStats
impl Clone for BufferStats
Source§fn clone(&self) -> BufferStats
fn clone(&self) -> BufferStats
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BufferStats
impl RefUnwindSafe for BufferStats
impl Send for BufferStats
impl Sync for BufferStats
impl Unpin for BufferStats
impl UnwindSafe for BufferStats
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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