pub trait WithHeader<'buf>: Bufer<'buf> {
// Provided methods
fn b(&self) -> &'buf [u8] ⓘ { ... }
fn table_id(&self) -> TableID { ... }
fn section_syntax_indicator(&self) -> bool { ... }
fn section_length(&self) -> u16 { ... }
fn sz(&self) -> usize { ... }
}Provided Methods§
fn table_id(&self) -> TableID
Sourcefn section_syntax_indicator(&self) -> bool
fn section_syntax_indicator(&self) -> bool
if set to 1 (true) - 4th and 5th bytes are table-id-extension
must be set to 1 for: PAT, CAT, PMT NIT, EIT, BAT, SDT
fn section_length(&self) -> u16
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".