pub enum SequenceError {
Nal(NalError),
Sps(SpsError),
Pps(PpsError),
Slice(SliceError),
SliceData(ResidualCodingError),
Recon(ReconError),
Rps(ShortTermRefPicSetMaterializeError),
MissingParameterSet {
kind: &'static str,
id: u8,
},
Malformed(&'static str),
Unsupported(&'static str),
}Expand description
Errors from the whole-bitstream decode driver.
Variants§
Nal(NalError)
Annex B demux / NAL header error.
Sps(SpsError)
SPS parse error.
Pps(PpsError)
PPS parse error.
Slice(SliceError)
Slice-segment-header parse error.
SliceData(ResidualCodingError)
§7.3.8 slice-data CABAC walk error.
Recon(ReconError)
Picture reconstruction error.
Rps(ShortTermRefPicSetMaterializeError)
§7.4.8 short-term-RPS materialization error.
MissingParameterSet
A referenced parameter set was never activated.
Malformed(&'static str)
A structural bitstream-conformance failure.
Unsupported(&'static str)
A conformant configuration this driver does not decode yet.
Trait Implementations§
Source§impl Debug for SequenceError
impl Debug for SequenceError
Source§impl Display for SequenceError
impl Display for SequenceError
Source§impl Error for SequenceError
impl Error for SequenceError
1.30.0 · 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<NalError> for SequenceError
impl From<NalError> for SequenceError
Source§impl From<PpsError> for SequenceError
impl From<PpsError> for SequenceError
Source§impl From<ReconError> for SequenceError
impl From<ReconError> for SequenceError
Source§fn from(e: ReconError) -> Self
fn from(e: ReconError) -> Self
Converts to this type from the input type.
Source§impl From<ShortTermRefPicSetMaterializeError> for SequenceError
impl From<ShortTermRefPicSetMaterializeError> for SequenceError
Source§fn from(e: ShortTermRefPicSetMaterializeError) -> Self
fn from(e: ShortTermRefPicSetMaterializeError) -> Self
Converts to this type from the input type.
Source§impl From<SliceError> for SequenceError
impl From<SliceError> for SequenceError
Source§fn from(e: SliceError) -> Self
fn from(e: SliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SequenceError
impl RefUnwindSafe for SequenceError
impl Send for SequenceError
impl Sync for SequenceError
impl Unpin for SequenceError
impl UnsafeUnpin for SequenceError
impl UnwindSafe for SequenceError
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