pub enum PesError {
FieldNotPresent,
PtsDtsFlagsInvalid,
NotEnoughData {
requested: usize,
available: usize,
},
MarkerBitNotSet,
}
The pts_dts_flags field of the PES packet signals that DTS is present and PTS is not,
which not a valid combination
Fields of NotEnoughData
Marker bits are expected to always have the value 1 -- the value 0 presumably implies
a parsing error.
Formats the value using the given formatter. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=.