pub struct BitrateAllocationLimits {
pub min_allocatable_rate: DataRate,
pub max_allocatable_rate: DataRate,
pub max_padding_rate: DataRate,
}Expand description
Represents constraints and rates related to the currently enabled streams. This is used as input to the congestion controller via the StreamsConfig struct.
Fields§
§min_allocatable_rate: DataRate§max_allocatable_rate: DataRate§max_padding_rate: DataRateTrait Implementations§
Source§impl Clone for BitrateAllocationLimits
impl Clone for BitrateAllocationLimits
Source§fn clone(&self) -> BitrateAllocationLimits
fn clone(&self) -> BitrateAllocationLimits
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 BitrateAllocationLimits
impl Debug for BitrateAllocationLimits
Source§impl Default for BitrateAllocationLimits
impl Default for BitrateAllocationLimits
Source§fn default() -> BitrateAllocationLimits
fn default() -> BitrateAllocationLimits
Returns the “default value” for a type. Read more
impl Copy for BitrateAllocationLimits
Auto Trait Implementations§
impl Freeze for BitrateAllocationLimits
impl RefUnwindSafe for BitrateAllocationLimits
impl Send for BitrateAllocationLimits
impl Sync for BitrateAllocationLimits
impl Unpin for BitrateAllocationLimits
impl UnwindSafe for BitrateAllocationLimits
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