Enum mpeg2ts_reader::demultiplex::DemuxError[][src]

pub enum DemuxError {
    NotEnoughData {
        field: &'static str,
        expected: usize,
        actual: usize,
    },
}

TODO: this type does not belong here

Variants

NotEnoughData

The transport stream has a syntax error that means there was not enough data present to parse the requested structure.

Fields of NotEnoughData

field: &'static str

The name of the field we were unable to parse

expected: usize

The expected size of the field data

actual: usize

the actual size of date available within the transport stream

Trait Implementations

impl Debug for DemuxError[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.