Struct scte35_reader::Scte35SectionProcessor
[−]
[src]
pub struct Scte35SectionProcessor<P> where
P: SpliceInfoProcessor, { /* fields omitted */ }
Methods
impl<P> Scte35SectionProcessor<P> where
P: SpliceInfoProcessor,
[src]
P: SpliceInfoProcessor,
pub fn new(processor: P) -> Scte35SectionProcessor<P>
[src]
Trait Implementations
impl<P> SectionProcessor for Scte35SectionProcessor<P> where
P: SpliceInfoProcessor,
[src]
P: SpliceInfoProcessor,
type Ret = FilterChangeset
fn start_section<'a>(
&mut self,
header: &SectionCommonHeader,
data: &'a [u8]
) -> Option<Self::Ret>
[src]
&mut self,
header: &SectionCommonHeader,
data: &'a [u8]
) -> Option<Self::Ret>
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, _section_data: &'a [u8]) -> Option<Self::Ret>
[src]
fn reset(&mut self)
[src]
Auto Trait Implementations
impl<P> Send for Scte35SectionProcessor<P> where
P: Send,
P: Send,
impl<P> Sync for Scte35SectionProcessor<P> where
P: Sync,
P: Sync,