Enum av_metrics::MetricsError[][src]

pub enum MetricsError {
    MalformedInput { /* fields omitted */ },
    UnsupportedInput { /* fields omitted */ },
    InputMismatch { /* fields omitted */ },
    VideoError { /* fields omitted */ },
    SendError { /* fields omitted */ },
    ProcessError { /* fields omitted */ },
    // 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

Indicates an input file could not be read for some reason.

Fields of MalformedInput

UnsupportedInput

Indicates an input file could be read, but is not supported by the current metric.

Fields of UnsupportedInput

InputMismatch

Indicates two inputs did not have matching formats or resolutions.

Fields of InputMismatch

VideoError

Indicates the impossibility to process the two videos.

Fields of VideoError

SendError

Indicates the impossibility to send two frames in order to be processed.

Fields of SendError

ProcessError

Indicates the impossibility to process two frames.

Fields of ProcessError

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.