pub struct Pmt<'a> {
pub program_number: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub pcr_pid: u16,
pub program_info: DescriptorLoop<'a>,
pub streams: Vec<PmtStream<'a>>,
}Expand description
Program Map Table.
Fields§
§program_number: u16Programme number from the table_id_extension field.
version_number: u85-bit version_number.
current_next_indicator: boolcurrent_next_indicator bit.
pcr_pid: u1613-bit PCR PID.
program_info: DescriptorLoop<'a>Raw program_info descriptor bytes.
Program-info descriptor loop. Serializes as the typed descriptor
sequence; .raw() yields the wire bytes.
streams: Vec<PmtStream<'a>>Elementary streams in wire order.
Trait Implementations§
impl<'a> Eq for Pmt<'a>
Source§impl Serialize for Pmt<'_>
impl Serialize for Pmt<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for Pmt<'a>
Auto Trait Implementations§
impl<'a> Freeze for Pmt<'a>
impl<'a> RefUnwindSafe for Pmt<'a>
impl<'a> Send for Pmt<'a>
impl<'a> Sync for Pmt<'a>
impl<'a> Unpin for Pmt<'a>
impl<'a> UnsafeUnpin for Pmt<'a>
impl<'a> UnwindSafe for Pmt<'a>
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