Struct mpeg2ts_reader::psi::SectionSyntaxSectionProcessor[][src]

pub struct SectionSyntaxSectionProcessor<SP> where
    SP: SectionSyntaxPayloadParser
{ /* fields omitted */ }

An implementation of SectionProcessor to be used for sections that implement ‘section syntax’ (rather than ‘compact syntax’).

Parses the TableSyntaxHeader at the front of the section data, and then delegates handling to the SectionSyntaxPayloadParser instance given at construction time.

Implementations

impl<SP> SectionSyntaxSectionProcessor<SP> where
    SP: SectionSyntaxPayloadParser
[src]

pub fn new(payload_parser: SP) -> SectionSyntaxSectionProcessor<SP>[src]

Wraps the given SectionSyntaxPayloadParser instance in a new SectionSyntaxSectionProcessor.

Trait Implementations

impl<SP> SectionProcessor for SectionSyntaxSectionProcessor<SP> where
    SP: SectionSyntaxPayloadParser
[src]

type Context = SP::Context

The type of the context object that the caller will pass through to the methods of this trait Read more

Auto Trait Implementations

impl<SP> RefUnwindSafe for SectionSyntaxSectionProcessor<SP> where
    SP: RefUnwindSafe

impl<SP> Send for SectionSyntaxSectionProcessor<SP> where
    SP: Send

impl<SP> Sync for SectionSyntaxSectionProcessor<SP> where
    SP: Sync

impl<SP> Unpin for SectionSyntaxSectionProcessor<SP> where
    SP: Unpin

impl<SP> UnwindSafe for SectionSyntaxSectionProcessor<SP> where
    SP: 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.