Enum adder_codec_rs::transcoder::source::video::SourceError
source · pub enum SourceError {
Show 14 variants
Open,
BadParams(String),
StartOutOfBounds(u32),
BufferEmpty,
BufferChannelClosed,
NoData,
UninitializedData,
VideoError(Error),
CodecError(CodecError),
ShapeError(ShapeError),
PlaneError(PlaneError),
JoinError(JoinError),
VisionError(String),
IoError(Error),
}
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
VideoError(Error)
video-rs error
CodecError(CodecError)
Codec error
ShapeError(ShapeError)
Shape error
PlaneError(PlaneError)
Plane error
JoinError(JoinError)
Handle join error
VisionError(String)
Vision application error
IoError(Error)
I/O 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<Error> for SourceError
impl From<Error> for SourceError
source§impl From<JoinError> for SourceError
impl From<JoinError> 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> 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