Struct mpeg2ts_reader::psi::SectionSyntaxSectionProcessor
source · pub struct SectionSyntaxSectionProcessor<SP>where
SP: SectionSyntaxPayloadParser,{ /* private fields */ }
Implementations
sourceimpl<SP> SectionSyntaxSectionProcessor<SP>where
SP: SectionSyntaxPayloadParser,
impl<SP> SectionSyntaxSectionProcessor<SP>where
SP: SectionSyntaxPayloadParser,
pub fn new(payload_parser: SP) -> SectionSyntaxSectionProcessor<SP>
Trait Implementations
sourceimpl<SP> SectionProcessor for SectionSyntaxSectionProcessor<SP>where
SP: SectionSyntaxPayloadParser,
impl<SP> SectionProcessor for SectionSyntaxSectionProcessor<SP>where
SP: SectionSyntaxPayloadParser,
type Context = <SP as SectionSyntaxPayloadParser>::Context
sourcefn start_section<'a>(
&mut self,
ctx: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)
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 morefn continue_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8])
fn reset(&mut self)
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more