Enum adder_codec_rs::transcoder::source::video::SourceError
source · pub enum SourceError {
Open,
BadParams,
StartOutOfBounds,
BufferEmpty,
BufferChannelClosed,
NoData,
UninitializedData,
OpencvError(Error),
StreamError(Error),
EdiError(ReconstructionError),
}
Variants§
Open
Could not open source file
BadParams
ADDER parameters are invalid for the given source
StartOutOfBounds
BufferEmpty
Source buffer is empty
BufferChannelClosed
Source buffer channel is closed
NoData
No data from next spot in buffer
UninitializedData
Data not initialized
OpencvError(Error)
OpenCV error
StreamError(Error)
EdiError(ReconstructionError)
EDI error
Trait Implementations§
source§impl Debug for SourceError
impl Debug for SourceError
source§impl Display for SourceError
impl Display for SourceError
source§impl From<Error> for SourceError
impl From<Error> for SourceError
source§impl From<Error> for SourceError
impl From<Error> for SourceError
source§fn from(value: StreamError) -> Self
fn from(value: StreamError) -> Self
Converts to this type from the input type.
source§impl From<SourceError> for Box<dyn Error>
impl From<SourceError> for Box<dyn Error>
source§fn from(value: SourceError) -> Self
fn from(value: SourceError) -> 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.