Struct mpeg2ts_reader::psi::SectionSyntaxSectionProcessor [−][src]
pub struct SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, { /* fields omitted */ }Methods
impl<SP> SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, [src]
impl<SP> SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, pub fn new(payload_parser: SP) -> SectionSyntaxSectionProcessor<SP>[src]
pub fn new(payload_parser: SP) -> SectionSyntaxSectionProcessor<SP>Trait Implementations
impl<SP> SectionProcessor for SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, [src]
impl<SP> SectionProcessor for SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, type Context = SP::Context
fn start_section<'a>(
&mut self,
ctx: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)[src]
fn start_section<'a>(
&mut self,
ctx: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)Note that the first 3 bytes of section_data contain the header fields that have also been supplied to this call in the header parameter. This is to allow implementers to calculate a CRC over the whole section if required. Read more
fn continue_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8])[src]
fn continue_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8])fn reset(&mut self)[src]
fn reset(&mut self)Auto Trait Implementations
impl<SP> Send for SectionSyntaxSectionProcessor<SP> where
SP: Send,
impl<SP> Send for SectionSyntaxSectionProcessor<SP> where
SP: Send, impl<SP> Sync for SectionSyntaxSectionProcessor<SP> where
SP: Sync,
impl<SP> Sync for SectionSyntaxSectionProcessor<SP> where
SP: Sync,