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

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.

Implementations

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> RefUnwindSafe for DedupSectionSyntaxPayloadParser<SSPP> where
    SSPP: RefUnwindSafe

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

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

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

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

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.