pub enum RealTimeError {
InvalidConfiguration(String),
BufferOverflow,
BufferUnderrun,
LatencyExceeded {
actual: Duration,
limit: Duration,
},
FrameRateTooLow {
actual: f64,
minimum: f64,
},
QualityDegradation {
actual: f64,
minimum: f64,
},
ResourceLimitExceeded(String),
NetworkError(String),
EncodingError(String),
StreamingError(String),
}Expand description
Real-time processing errors
Variants§
InvalidConfiguration(String)
Invalid configuration
BufferOverflow
Buffer overflow
BufferUnderrun
Buffer underrun
LatencyExceeded
Latency exceeded
FrameRateTooLow
Frame rate too low
QualityDegradation
Quality degradation
ResourceLimitExceeded(String)
Resource limit exceeded
NetworkError(String)
Network error
EncodingError(String)
Encoding error
StreamingError(String)
Streaming error
Trait Implementations§
Source§impl Clone for RealTimeError
impl Clone for RealTimeError
Source§fn clone(&self) -> RealTimeError
fn clone(&self) -> RealTimeError
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 RealTimeError
impl Debug for RealTimeError
Source§impl Display for RealTimeError
impl Display for RealTimeError
Source§impl Error for RealTimeError
impl Error for RealTimeError
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 RealTimeError
impl PartialEq for RealTimeError
impl StructuralPartialEq for RealTimeError
Auto Trait Implementations§
impl Freeze for RealTimeError
impl RefUnwindSafe for RealTimeError
impl Send for RealTimeError
impl Sync for RealTimeError
impl Unpin for RealTimeError
impl UnwindSafe for RealTimeError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more