[−][src]Struct mpeg2ts_reader::psi::SectionSyntaxSectionProcessor
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.
Methods
impl<SP> SectionSyntaxSectionProcessor<SP> where
SP: SectionSyntaxPayloadParser, [src]
SP: SectionSyntaxPayloadParser,
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]
SP: SectionSyntaxPayloadParser,
type Context = SP::Context
The type of the context object that the caller will pass through to the methods of this trait Read more
fn start_section<'a>(
&mut self,
ctx: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)[src]
&mut self,
ctx: &mut Self::Context,
header: &SectionCommonHeader,
data: &'a [u8]
)
fn continue_section<'a>(&mut self, ctx: &mut Self::Context, data: &'a [u8])[src]
fn reset(&mut self)[src]
Auto Trait Implementations
impl<SP> Send for SectionSyntaxSectionProcessor<SP> where
SP: Send,
SP: Send,
impl<SP> Sync for SectionSyntaxSectionProcessor<SP> where
SP: Sync,
SP: Sync,
Blanket Implementations
impl<T> From for T[src]
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,