Struct mpeg2ts_reader::psi::CompactSyntaxSectionProcessor [−][src]
pub struct CompactSyntaxSectionProcessor<SP> where
SP: CompactSyntaxPayloadParser, { /* fields omitted */ }An implementation of SectionProcessor to be used for sections that implement ‘compact syntax’
(rather than ‘section syntax’).
Delegates handling to the CompactSyntaxPayloadParser instance given at construction time.
Implementations
impl<SP> CompactSyntaxSectionProcessor<SP> where
SP: CompactSyntaxPayloadParser, [src]
SP: CompactSyntaxPayloadParser,
pub fn new(payload_parser: SP) -> CompactSyntaxSectionProcessor<SP>[src]
Wraps the given CompactSyntaxPayloadParser instance in a new
CompactSyntaxSectionProcessor.
Trait Implementations
impl<SP> SectionProcessor for CompactSyntaxSectionProcessor<SP> where
SP: CompactSyntaxPayloadParser, [src]
SP: CompactSyntaxPayloadParser,
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> RefUnwindSafe for CompactSyntaxSectionProcessor<SP> where
SP: RefUnwindSafe,
SP: RefUnwindSafe,
impl<SP> Send for CompactSyntaxSectionProcessor<SP> where
SP: Send,
SP: Send,
impl<SP> Sync for CompactSyntaxSectionProcessor<SP> where
SP: Sync,
SP: Sync,
impl<SP> Unpin for CompactSyntaxSectionProcessor<SP> where
SP: Unpin,
SP: Unpin,
impl<SP> UnwindSafe for CompactSyntaxSectionProcessor<SP> where
SP: UnwindSafe,
SP: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,