Struct RateControlConfig
struct RateControlConfig { ... }
Rate control configuration
Implementations
impl RateControlConfig
fn from_summary_slice(bytes: &[u8]) -> Result<Self, Error>Create a rate control configuration from a serialized summary
Errors
Returns an error if the serialized data is invalid.
fn new() -> SelfCreate a default rate control configuration
By default the encoder is in single pass mode.
const fn with_summary(self: Self, summary: RateControlSummary) -> SelfSet a rate control summary
Enable the second pass encoding mode
const fn with_emit_data(self: Self, emit: bool) -> SelfEmit the current pass data
The pass data will be used in a second pass encoding session
impl Clone for RateControlConfig
fn clone(self: &Self) -> RateControlConfig
impl Debug for RateControlConfig
fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result
impl Default for RateControlConfig
fn default() -> RateControlConfig
impl Freeze for RateControlConfig
impl RefUnwindSafe for RateControlConfig
impl Send for RateControlConfig
impl Sync for RateControlConfig
impl Unpin for RateControlConfig
impl UnsafeUnpin for RateControlConfig
impl UnwindSafe for RateControlConfig
impl<T> Any for RateControlConfig
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for RateControlConfig
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for RateControlConfig
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for RateControlConfig
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for RateControlConfig
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for RateControlConfig
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for RateControlConfig
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for RateControlConfig
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for RateControlConfig
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>