Enum vp9_parser::Vp9ParserError
source · [−]pub enum Vp9ParserError {
BitReaderError(BitReaderError),
IoError(Error),
TryFromSliceError(TryFromSliceError),
TryFromIntError(TryFromIntError),
InvalidFrameMarker,
InvalidPadding,
InvalidSyncByte,
InvalidRefFrameIndex,
InvalidMetadata,
InvalidFrameSizeByteSize(usize),
}
Expand description
Errors that can occur when parsing VP9 frames.
Variants
BitReaderError(BitReaderError)
A bitreader::BitReaderError
.
IoError(Error)
A std::io::Error
.
TryFromSliceError(TryFromSliceError)
A TryFromSliceError
.
TryFromIntError(TryFromIntError)
A TryFromIntError
.
InvalidFrameMarker
Invalid frame marker.
InvalidPadding
Invalid padding.
InvalidSyncByte
Invalid sync byte.
InvalidRefFrameIndex
Invalid reference frame index.
InvalidMetadata
Invalid metadata.
InvalidFrameSizeByteSize(usize)
Invalid frame_size byte size.
Trait Implementations
sourceimpl Debug for Vp9ParserError
impl Debug for Vp9ParserError
sourceimpl Display for Vp9ParserError
impl Display for Vp9ParserError
sourceimpl Error for Vp9ParserError
impl Error for Vp9ParserError
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<BitReaderError> for Vp9ParserError
impl From<BitReaderError> for Vp9ParserError
sourcefn from(err: BitReaderError) -> Vp9ParserError
fn from(err: BitReaderError) -> Vp9ParserError
Converts to this type from the input type.
sourceimpl From<Error> for Vp9ParserError
impl From<Error> for Vp9ParserError
sourcefn from(err: Error) -> Vp9ParserError
fn from(err: Error) -> Vp9ParserError
Converts to this type from the input type.
sourceimpl From<TryFromIntError> for Vp9ParserError
impl From<TryFromIntError> for Vp9ParserError
sourcefn from(err: TryFromIntError) -> Vp9ParserError
fn from(err: TryFromIntError) -> Vp9ParserError
Converts to this type from the input type.
sourceimpl From<TryFromSliceError> for Vp9ParserError
impl From<TryFromSliceError> for Vp9ParserError
sourcefn from(err: TryFromSliceError) -> Vp9ParserError
fn from(err: TryFromSliceError) -> Vp9ParserError
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Vp9ParserError
impl Send for Vp9ParserError
impl Sync for Vp9ParserError
impl Unpin for Vp9ParserError
impl !UnwindSafe for Vp9ParserError
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