[][src]Enum mpeg2ts_reader::pes::TimestampError

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

IncorrectPrefixBits

Parsing the timestamp failed because the 'prefix-bit' values within the timestamp did not have the expected values

Fields of IncorrectPrefixBits

expected: u8

expected prefix-bits for this timestamp

actual: u8

the actual, incorrect bits that were present

MarkerBitNotSet

Parsing the timestamp failed because a 'marker-bit' value within the timestamp did not have the expected value

Fields of MarkerBitNotSet

bit_number: u8

the bit-index of the bit which should have been 1, but was found to be 0

Trait Implementations

impl PartialEq<TimestampError> for TimestampError[src]

impl Debug for TimestampError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.