pub struct PerformanceContext {
pub average_latency_ms: f64,
pub available_bandwidth_mbps: f64,
pub error_rate: f64,
pub cpu_usage: f64,
pub memory_usage: f64,
}
Expand description
Performance context for adaptive streaming
Fields§
§average_latency_ms: f64
§available_bandwidth_mbps: f64
§error_rate: f64
§cpu_usage: f64
§memory_usage: f64
Trait Implementations§
Source§impl Clone for PerformanceContext
impl Clone for PerformanceContext
Source§fn clone(&self) -> PerformanceContext
fn clone(&self) -> PerformanceContext
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 PerformanceContext
impl RefUnwindSafe for PerformanceContext
impl Send for PerformanceContext
impl Sync for PerformanceContext
impl Unpin for PerformanceContext
impl UnwindSafe for PerformanceContext
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