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: u8The type of table of which this is a section
section_syntax_indicator: booltrue for ’section syntax, false` for ‘compact syntax’.
private_indicator: boolindicates 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: usizethe 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 Freeze for SectionCommonHeader
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