pub enum FfmpegError {
Alloc,
Code(FfmpegErrorCode),
NoDecoder,
NoEncoder,
NoStream,
NoFilter,
NoFrame,
Arguments(&'static str),
}
Expand description
An error that occurs when the ffmpeg operation fails.
Variants§
Alloc
An error that occurs when the memory allocation fails.
Code(FfmpegErrorCode)
An error that occurs when the ffmpeg error code is not a success code.
NoDecoder
An error that occurs when no decoder is found.
NoEncoder
An error that occurs when no encoder is found.
NoStream
An error that occurs when no stream is found.
NoFilter
An error that occurs when no filter is found.
NoFrame
An error that occurs when no frame is found.
Arguments(&'static str)
An error that occurs when the arguments are invalid.
Trait Implementations§
Source§impl Debug for FfmpegError
impl Debug for FfmpegError
Source§impl Display for FfmpegError
impl Display for FfmpegError
Source§impl Error for FfmpegError
impl Error for FfmpegError
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<FfmpegErrorCode> for FfmpegError
impl From<FfmpegErrorCode> for FfmpegError
Source§fn from(source: FfmpegErrorCode) -> Self
fn from(source: FfmpegErrorCode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FfmpegError
impl PartialEq for FfmpegError
impl Eq for FfmpegError
impl StructuralPartialEq for FfmpegError
Auto Trait Implementations§
impl Freeze for FfmpegError
impl RefUnwindSafe for FfmpegError
impl Send for FfmpegError
impl Sync for FfmpegError
impl Unpin for FfmpegError
impl UnwindSafe for FfmpegError
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