pub enum RateControlError {
UnknownLevel(String),
UnknownMode(String),
NonPositiveBitrate,
UnknownVideoCodec(String),
UnknownAudioCodec(String),
EmptyFrame,
}Expand description
Why a rate-control request is not one the engine can resolve.
Variants§
UnknownLevel(String)
A level name outside the five.
UnknownMode(String)
A bitrate mode other than constant or variable.
NonPositiveBitrate
A bitrate of zero or less.
UnknownVideoCodec(String)
A video codec name outside VideoCodec::ALL.
UnknownAudioCodec(String)
An audio codec name other than aac or opus.
EmptyFrame
A zero output dimension.
Trait Implementations§
Source§impl Clone for RateControlError
impl Clone for RateControlError
Source§impl Debug for RateControlError
impl Debug for RateControlError
Source§impl Display for RateControlError
impl Display for RateControlError
impl Eq for RateControlError
Source§impl Error for RateControlError
impl Error for RateControlError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for RateControlError
impl PartialEq for RateControlError
impl StructuralPartialEq for RateControlError
Auto Trait Implementations§
impl Freeze for RateControlError
impl RefUnwindSafe for RateControlError
impl Send for RateControlError
impl Sync for RateControlError
impl Unpin for RateControlError
impl UnsafeUnpin for RateControlError
impl UnwindSafe for RateControlError
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