Enum mpeg2ts_reader::pes::TimestampError
source · pub enum TimestampError {
IncorrectPrefixBits {
expected: u8,
actual: u8,
},
MarkerBitNotSet {
bit_number: u8,
},
}Expand description
Detail about the formatting problem which prevented a Timestamp
value being parsed.
Variants§
IncorrectPrefixBits
Fields
Parsing the timestamp failed because the ‘prefix-bit’ values within the timestamp did not have the expected values
MarkerBitNotSet
Parsing the timestamp failed because a ‘marker-bit’ value within the timestamp did not have the expected value
Trait Implementations§
source§impl Debug for TimestampError
impl Debug for TimestampError
source§impl PartialEq for TimestampError
impl PartialEq for TimestampError
source§fn eq(&self, other: &TimestampError) -> bool
fn eq(&self, other: &TimestampError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for TimestampError
impl StructuralPartialEq for TimestampError
Auto Trait Implementations§
impl RefUnwindSafe for TimestampError
impl Send for TimestampError
impl Sync for TimestampError
impl Unpin for TimestampError
impl UnwindSafe for TimestampError
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