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§
Source§impl Debug for Vp9ParserError
impl Debug for Vp9ParserError
Source§impl Display for Vp9ParserError
impl Display for Vp9ParserError
Source§impl Error for Vp9ParserError
impl Error for Vp9ParserError
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<BitReaderError> for Vp9ParserError
impl From<BitReaderError> for Vp9ParserError
Source§fn from(err: BitReaderError) -> Vp9ParserError
fn from(err: BitReaderError) -> Vp9ParserError
Converts to this type from the input type.
Source§impl From<Error> for Vp9ParserError
impl From<Error> for Vp9ParserError
Source§fn from(err: Error) -> Vp9ParserError
fn from(err: Error) -> Vp9ParserError
Converts to this type from the input type.
Source§impl From<TryFromIntError> for Vp9ParserError
impl From<TryFromIntError> for Vp9ParserError
Source§fn from(err: TryFromIntError) -> Vp9ParserError
fn from(err: TryFromIntError) -> Vp9ParserError
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for Vp9ParserError
impl From<TryFromSliceError> for Vp9ParserError
Source§fn from(err: TryFromSliceError) -> Vp9ParserError
fn from(err: TryFromSliceError) -> Vp9ParserError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Vp9ParserError
impl !RefUnwindSafe for Vp9ParserError
impl Send for Vp9ParserError
impl Sync for Vp9ParserError
impl Unpin for Vp9ParserError
impl !UnwindSafe for Vp9ParserError
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