Enum adder_codec_rs::transcoder::source::video::SourceError
source · pub enum SourceError {
Open,
BadParams(String),
StartOutOfBounds(u32),
BufferEmpty,
BufferChannelClosed,
NoData,
UninitializedData,
OpencvError(Error),
CodecError(CodecError),
EdiError(ReconstructionError),
ShapeError(ShapeError),
PlaneError(PlaneError),
}
Expand description
Various errors that can occur during an ADΔER transcode
Variants§
Open
Could not open source file
BadParams(String)
Incorrect parameters for the given source
StartOutOfBounds(u32)
When a Framed source is used, but the start frame is out of bounds“
BufferEmpty
No more data to consume from the video source
BufferChannelClosed
Source buffer channel is closed
NoData
No data from next spot in buffer
UninitializedData
Data not initialized
OpencvError(Error)
OpenCV error
CodecError(CodecError)
Codec error
EdiError(ReconstructionError)
EDI error
ShapeError(ShapeError)
Shape error
PlaneError(PlaneError)
Plane error
Trait Implementations§
source§impl Debug for SourceError
impl Debug for SourceError
source§impl Display for SourceError
impl Display for SourceError
source§impl Error for SourceError
impl Error for SourceError
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()
source§impl From<CodecError> for SourceError
impl From<CodecError> for SourceError
source§fn from(value: CodecError) -> Self
fn from(value: CodecError) -> Self
Converts to this type from the input type.
source§impl From<Error> for SourceError
impl From<Error> for SourceError
source§impl From<PlaneError> for SourceError
impl From<PlaneError> for SourceError
source§fn from(source: PlaneError) -> Self
fn from(source: PlaneError) -> Self
Converts to this type from the input type.
source§impl From<ShapeError> for SourceError
impl From<ShapeError> for SourceError
source§fn from(source: ShapeError) -> Self
fn from(source: ShapeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for SourceError
impl Send for SourceError
impl Sync for SourceError
impl Unpin for SourceError
impl !UnwindSafe for SourceError
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.