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
sourceimpl Debug for MetricsError
impl Debug for MetricsError
sourceimpl Display for MetricsError
impl Display for MetricsError
sourceimpl Error for MetricsError
impl Error for MetricsError
1.30.0 · sourcefn 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 · sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more