Enum mpeg2ts_reader::pes::TimestampError [−][src]
pub enum TimestampError {
IncorrectPrefixBits {
expected: u8,
actual: u8,
},
MarkerBitNotSet {
bit_number: u8,
},
}Detail about the formatting problem which prevented a Timestamp
value being parsed.
Variants
Parsing the timestamp failed because the ‘prefix-bit’ values within the timestamp did not have the expected values
Fields of IncorrectPrefixBits
Parsing the timestamp failed because a ‘marker-bit’ value within the timestamp did not have the expected value
Fields of MarkerBitNotSet
bit_number: u8the bit-index of the bit which should have been 1, but was found to be 0
Trait Implementations
impl Debug for TimestampError[src]
impl PartialEq<TimestampError> for TimestampError[src]
fn eq(&self, other: &TimestampError) -> bool[src]
fn ne(&self, other: &TimestampError) -> bool[src]
impl StructuralPartialEq for TimestampError[src]
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
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>,