pub enum VideoDecoderError {
CodecError(CodecError),
CreateVideoContextError(CreateVideoContextError),
CreateVideoFrameError(CreateVideoFrameError),
OpenAVCodecError,
InitAVCodecParserContextError,
AllocAVPacketError,
ParsePacketError,
SendPacketToAVCodecError,
AllocAVFrameError,
}Variants§
CodecError(CodecError)
CreateVideoContextError(CreateVideoContextError)
CreateVideoFrameError(CreateVideoFrameError)
OpenAVCodecError
InitAVCodecParserContextError
AllocAVPacketError
ParsePacketError
SendPacketToAVCodecError
AllocAVFrameError
Trait Implementations§
Source§impl Debug for VideoDecoderError
impl Debug for VideoDecoderError
Source§impl Display for VideoDecoderError
impl Display for VideoDecoderError
Source§impl Error for VideoDecoderError
impl Error for VideoDecoderError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 VideoDecoderError
impl From<CodecError> for VideoDecoderError
Source§fn from(source: CodecError) -> Self
fn from(source: CodecError) -> Self
Converts to this type from the input type.
Source§impl From<CreateVideoContextError> for VideoDecoderError
impl From<CreateVideoContextError> for VideoDecoderError
Source§fn from(source: CreateVideoContextError) -> Self
fn from(source: CreateVideoContextError) -> Self
Converts to this type from the input type.
Source§impl From<CreateVideoFrameError> for VideoDecoderError
impl From<CreateVideoFrameError> for VideoDecoderError
Source§fn from(source: CreateVideoFrameError) -> Self
fn from(source: CreateVideoFrameError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VideoDecoderError
impl RefUnwindSafe for VideoDecoderError
impl Send for VideoDecoderError
impl Sync for VideoDecoderError
impl Unpin for VideoDecoderError
impl UnwindSafe for VideoDecoderError
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