Struct mpeg2ts_reader::psi::SectionCommonHeader
source · pub struct SectionCommonHeader {
pub table_id: u8,
pub section_syntax_indicator: bool,
pub private_indicator: bool,
pub section_length: usize,
}
Expand description
Header common to all PSI sections, whether they then use ‘section syntax’ or ‘compact syntax’.
Fields§
§table_id: u8
The type of table of which this is a section
section_syntax_indicator: bool
true
for ’section syntax,
false` for ‘compact syntax’.
private_indicator: bool
indicates that the data in the table is for private use not defined in ISO/IEC 13818-1
(section types implemented in this crate are to be used with data that has e
in
this field, but other crates might be written to support private table sections).
section_length: usize
the number of bytes in the section data immediately following this field (which may be more bytes than will fit into a single TS packet).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for SectionCommonHeader
impl Send for SectionCommonHeader
impl Sync for SectionCommonHeader
impl Unpin for SectionCommonHeader
impl UnwindSafe for SectionCommonHeader
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more