pub struct StreamingStats {
pub frames_captured: u64,
pub frames_encoded: u64,
pub frames_dropped: u64,
pub bytes_encoded: u64,
pub total_capture_time: Duration,
pub total_encode_time: Duration,
pub current_fps: f32,
pub current_bitrate: u64,
pub avg_capture_time: Duration,
pub avg_encode_time: Duration,
}Expand description
Streaming statistics
Fields§
§frames_captured: u64§frames_encoded: u64§frames_dropped: u64§bytes_encoded: u64§total_capture_time: Duration§total_encode_time: Duration§current_fps: f32§current_bitrate: u64§avg_capture_time: Duration§avg_encode_time: DurationTrait Implementations§
Source§impl Clone for StreamingStats
impl Clone for StreamingStats
Source§fn clone(&self) -> StreamingStats
fn clone(&self) -> StreamingStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StreamingStats
impl Debug for StreamingStats
Source§impl Default for StreamingStats
impl Default for StreamingStats
Source§fn default() -> StreamingStats
fn default() -> StreamingStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StreamingStats
impl RefUnwindSafe for StreamingStats
impl Send for StreamingStats
impl Sync for StreamingStats
impl Unpin for StreamingStats
impl UnsafeUnpin for StreamingStats
impl UnwindSafe for StreamingStats
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