Enum vp9_parser::ivf::IvfError
source · [−]pub enum IvfError {
IoError(Error),
TryFromSliceError(TryFromSliceError),
TryFromIntError(TryFromIntError),
InvalidHeader(String),
UnexpectedFileEnding,
}
Expand description
Errors that can occur when parsing IVF containers.
Variants
IoError(Error)
A std::io::Error.
TryFromSliceError(TryFromSliceError)
A TryFromSliceError
.
TryFromIntError(TryFromIntError)
A TryFromIntError
.
InvalidHeader(String)
Invalid header.
UnexpectedFileEnding
Unexpected file ending.
Trait Implementations
sourceimpl Error for IvfError
impl Error for IvfError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<TryFromIntError> for IvfError
impl From<TryFromIntError> for IvfError
sourcefn from(err: TryFromIntError) -> IvfError
fn from(err: TryFromIntError) -> IvfError
Converts to this type from the input type.
sourceimpl From<TryFromSliceError> for IvfError
impl From<TryFromSliceError> for IvfError
sourcefn from(err: TryFromSliceError) -> IvfError
fn from(err: TryFromSliceError) -> IvfError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for IvfError
impl Send for IvfError
impl Sync for IvfError
impl Unpin for IvfError
impl !UnwindSafe for IvfError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more