pub struct BufferSectionSyntaxParser<P>where
    P: WholeSectionSyntaxPayloadParser,
{ /* private fields */ }
Expand description

Implements BufferSectionSyntaxParser so that any sections that cross TS-packet boundaries are collected into a single byte-buffer for easier parsing. In the common case that the section fits entirely in a single TS packet, the implementation is zero-copy.

Implementations

Trait Implementations

NB the data buffer passed to will include the bytes which are represented by header and table_syntax_header (in order that the called code can check any CRC that covers the whole section). Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.