Struct mpeg2ts_reader::psi::pmt::PmtSection
source · pub struct PmtSection<'buf> { /* private fields */ }
Expand description
Sections of the Program Map Table give details of the streams within a particular program
Implementations
sourceimpl<'buf> PmtSection<'buf>
impl<'buf> PmtSection<'buf>
pub fn from_bytes(data: &'buf [u8]) -> Result<PmtSection<'buf>, DemuxError>
pub fn reserved1(&self) -> u8
pub fn pcr_pid(&self) -> u16
pub fn reserved2(&self) -> u8
pub fn program_info_length(&self) -> u16
pub fn descriptors<Desc: Descriptor<'buf> + 'buf>(
&self
) -> impl Iterator<Item = Result<Desc, DescriptorError>> + 'buf
pub fn streams(&self) -> impl Iterator<Item = StreamInfo<'buf>>
Trait Implementations
Auto Trait Implementations
impl<'buf> RefUnwindSafe for PmtSection<'buf>
impl<'buf> Send for PmtSection<'buf>
impl<'buf> Sync for PmtSection<'buf>
impl<'buf> Unpin for PmtSection<'buf>
impl<'buf> UnwindSafe for PmtSection<'buf>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more