pub struct PmtStream {
pub stream_type: u8,
pub elementary_pid: u16,
pub descriptors: Vec<u8>,
}Expand description
One elementary-stream descriptor inside a PMT.
Fields§
§stream_type: u8Per ISO/IEC 13818-1 Table 2-29 (stream_type).
elementary_pid: u1613-bit elementary-stream PID.
descriptors: Vec<u8>Raw descriptor bytes — the contents of the
ES_info_length-bytes block, copied verbatim.
Implementations§
Source§impl PmtStream
impl PmtStream
Sourcepub fn iter_descriptors(&self) -> DescriptorIter<'_> ⓘ
pub fn iter_descriptors(&self) -> DescriptorIter<'_> ⓘ
Iterate per-elementary-stream descriptors as typed TLV records.
See crate::descriptor::iter_descriptors.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PmtStream
impl RefUnwindSafe for PmtStream
impl Send for PmtStream
impl Sync for PmtStream
impl Unpin for PmtStream
impl UnsafeUnpin for PmtStream
impl UnwindSafe for PmtStream
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