Enum mpeg2ts_reader::pes::PesError
source · pub enum PesError {
FieldNotPresent,
PtsDtsFlagsInvalid,
NotEnoughData {
requested: usize,
available: usize,
},
MarkerBitNotSet,
}
Variants
FieldNotPresent
PtsDtsFlagsInvalid
The pts_dts_flags
field of the PES packet signals that DTS is present and PTS is not,
which not a valid combination
NotEnoughData
MarkerBitNotSet
Marker bits are expected to always have the value 1
– the value 0
presumably implies
a parsing error.
Trait Implementations
impl StructuralPartialEq for PesError
Auto Trait Implementations
impl RefUnwindSafe for PesError
impl Send for PesError
impl Sync for PesError
impl Unpin for PesError
impl UnwindSafe for PesError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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