Enum mpeg2ts_reader::pes::PesError [−][src]
pub enum PesError { FieldNotPresent, PtsDtsFlagsInvalid, NotEnoughData { requested: usize, available: usize, }, MarkerBitNotSet, }
Errors which may be encountered while processing PES data.
Variants
The value of an optional field was requested, but the field is not actually present in the given PES data
The pts_dts_flags
field of the PES packet signals that DTS is present and PTS is not,
which not a valid combination
There is not enough data in the buffer to hold the expected syntax element
Fields of NotEnoughData
Marker bits are expected to always have the value 1
– the value 0
presumably implies
a parsing error.
Trait Implementations
impl Debug for PesError
[src]
impl PartialEq<PesError> for PesError
[src]
impl StructuralPartialEq for PesError
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,