pub enum VideoDecodeError {
Decode(Error),
Convert(ConvertError),
}Expand description
Error type for FfmpegVideoStreamDecoder.
Variants§
Decode(Error)
The wrapped decoder (HW or SW) reported an error.
Convert(ConvertError)
Frame conversion from FFmpeg’s native types to mediadecode’s types failed.
Trait Implementations§
Source§impl Debug for VideoDecodeError
impl Debug for VideoDecodeError
Source§impl Display for VideoDecodeError
impl Display for VideoDecodeError
Source§impl Error for VideoDecodeError
impl Error for VideoDecodeError
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<ConvertError> for VideoDecodeError
impl From<ConvertError> for VideoDecodeError
Source§fn from(source: ConvertError) -> Self
fn from(source: ConvertError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for VideoDecodeError
impl RefUnwindSafe for VideoDecodeError
impl Send for VideoDecodeError
impl Sync for VideoDecodeError
impl Unpin for VideoDecodeError
impl UnsafeUnpin for VideoDecodeError
impl UnwindSafe for VideoDecodeError
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