[][src]Struct mpeg2ts_reader::psi::DedupSectionSyntaxPayloadParser

pub struct DedupSectionSyntaxPayloadParser<SSPP> where
    SSPP: SectionSyntaxPayloadParser
{ /* fields omitted */ }

A wrapper around some other implementation of SectionSyntaxPayloadParser that passes-through section data, unless the TableSyntaxHeader indicates a version_number which is the same as the last data that was passed though.

This avoids the underlying code needing to re-parse duplicate copies of the section, which are usually inserted periodically in the Transport Stream.

Methods

impl<SSPP> DedupSectionSyntaxPayloadParser<SSPP> where
    SSPP: SectionSyntaxPayloadParser
[src]

pub fn new(inner: SSPP) -> DedupSectionSyntaxPayloadParser<SSPP>[src]

Wraps the given SectionSyntaxPayloadParser in a new DedupSectionSyntaxPayloadParser instance.

Trait Implementations

impl<SSPP> SectionSyntaxPayloadParser for DedupSectionSyntaxPayloadParser<SSPP> where
    SSPP: SectionSyntaxPayloadParser
[src]

type Context = SSPP::Context

The type of the context object passed to all methods

Auto Trait Implementations

impl<SSPP> Send for DedupSectionSyntaxPayloadParser<SSPP> where
    SSPP: Send

impl<SSPP> Sync for DedupSectionSyntaxPayloadParser<SSPP> where
    SSPP: Sync

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.