pub struct QosProfile {
pub target_latency_ms: u32,
pub max_latency_ms: u32,
pub min_bitrate: u32,
pub max_bitrate: u32,
pub packet_loss_tolerance: f32,
}Expand description
QoS profile for adaptive audio tuning.
Fields§
§target_latency_ms: u32Target end-to-end latency.
max_latency_ms: u32Maximum tolerated latency.
min_bitrate: u32Minimum bitrate to preserve intelligibility.
max_bitrate: u32Maximum bitrate to avoid saturation.
packet_loss_tolerance: f32Packet loss tolerance threshold.
Trait Implementations§
Source§impl Clone for QosProfile
impl Clone for QosProfile
Source§fn clone(&self) -> QosProfile
fn clone(&self) -> QosProfile
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 QosProfile
impl Debug for QosProfile
Source§impl Default for QosProfile
impl Default for QosProfile
Source§impl<'de> Deserialize<'de> for QosProfile
impl<'de> Deserialize<'de> for QosProfile
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for QosProfile
impl RefUnwindSafe for QosProfile
impl Send for QosProfile
impl Sync for QosProfile
impl Unpin for QosProfile
impl UnsafeUnpin for QosProfile
impl UnwindSafe for QosProfile
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