pub struct StreamStats {Show 15 fields
pub frames: u64,
pub bytes: u64,
pub drops: u64,
pub resends: u64,
pub last_frame_dt: Duration,
pub avg_fps: f64,
pub avg_mbps: f64,
pub avg_latency_ms: Option<f64>,
pub packets: u64,
pub resend_ranges: u64,
pub backpressure_drops: u64,
pub late_frames: u64,
pub pool_exhaustions: u64,
pub elapsed: Duration,
pub packets_per_second: f64,
}Expand description
Immutable view of streaming statistics suitable for UI overlays.
Fields§
§frames: u64§bytes: u64§drops: u64§resends: u64§last_frame_dt: Duration§avg_fps: f64§avg_mbps: f64§avg_latency_ms: Option<f64>§packets: u64§resend_ranges: u64§backpressure_drops: u64§late_frames: u64§pool_exhaustions: u64§elapsed: Duration§packets_per_second: f64Trait Implementations§
Source§impl Clone for StreamStats
impl Clone for StreamStats
Source§fn clone(&self) -> StreamStats
fn clone(&self) -> StreamStats
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 moreSource§impl Debug for StreamStats
impl Debug for StreamStats
Source§impl Default for StreamStats
impl Default for StreamStats
Source§impl PartialEq for StreamStats
impl PartialEq for StreamStats
impl Copy for StreamStats
impl StructuralPartialEq for StreamStats
Auto Trait Implementations§
impl Freeze for StreamStats
impl RefUnwindSafe for StreamStats
impl Send for StreamStats
impl Sync for StreamStats
impl Unpin 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