pub enum StreamingValidationError {
LatencyExceeded {
measured: Duration,
max: Duration,
},
BufferUnderrunThreshold {
count: usize,
threshold: usize,
},
DroppedFrameThreshold {
count: usize,
max: usize,
},
FpsBelowMinimum {
measured: f64,
min: f64,
},
TtfbExceeded {
measured: Duration,
max: Duration,
},
InvalidStateTransition {
from: StreamingState,
to: StreamingState,
},
EndedInError,
}Expand description
Streaming validation error
Variants§
LatencyExceeded
Latency exceeded threshold
BufferUnderrunThreshold
Too many buffer underruns
DroppedFrameThreshold
Too many dropped frames
FpsBelowMinimum
FPS below minimum
TtfbExceeded
Time to first byte exceeded
InvalidStateTransition
Invalid state transition
EndedInError
State machine ended in error state
Trait Implementations§
Source§impl Clone for StreamingValidationError
impl Clone for StreamingValidationError
Source§fn clone(&self) -> StreamingValidationError
fn clone(&self) -> StreamingValidationError
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 StreamingValidationError
impl Debug for StreamingValidationError
Source§impl Display for StreamingValidationError
impl Display for StreamingValidationError
Source§impl Error for StreamingValidationError
impl Error for StreamingValidationError
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()
Auto Trait Implementations§
impl Freeze for StreamingValidationError
impl RefUnwindSafe for StreamingValidationError
impl Send for StreamingValidationError
impl Sync for StreamingValidationError
impl Unpin for StreamingValidationError
impl UnsafeUnpin for StreamingValidationError
impl UnwindSafe for StreamingValidationError
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