Enum av_metrics::MetricsError
source · pub enum MetricsError {
MalformedInput { /* private fields */ },
UnsupportedInput { /* private fields */ },
InputMismatch { /* private fields */ },
VideoError { /* private fields */ },
SendError { /* private fields */ },
ProcessError { /* private fields */ },
// some variants omitted
}
Expand description
Possible errors that may occur during processing of a metric.
This enum may be added to in the future and should not be assumed to be exhaustive.
Variants§
MalformedInput
Fields
Indicates an input file could not be read for some reason.
UnsupportedInput
Fields
Indicates an input file could be read, but is not supported by the current metric.
InputMismatch
Fields
Indicates two inputs did not have matching formats or resolutions.
VideoError
Fields
Indicates the impossibility to process the two videos.
SendError
Fields
Indicates the impossibility to send two frames in order to be processed.
ProcessError
Fields
Indicates the impossibility to process two frames.
Trait Implementations§
source§impl Debug for MetricsError
impl Debug for MetricsError
source§impl Display for MetricsError
impl Display for MetricsError
source§impl Error for MetricsError
impl Error for MetricsError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 RefUnwindSafe for MetricsError
impl Send for MetricsError
impl Sync for MetricsError
impl Unpin for MetricsError
impl UnwindSafe for MetricsError
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