pub struct MsCaPmt<'a> {
pub lts_id: u8,
pub list_management: CaPmtListManagement,
pub program_number: u16,
pub pmt_pid: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub cmd_id: Option<CaPmtCmdId>,
pub program_ca_descriptors: &'a [u8],
pub streams: Vec<MsCaPmtStream<'a>>,
}Expand description
CI Plus multi-stream ca_pmt() (Table 14): Host → CICAM. Differs from the
EN 50221 ca_pmt by the leading LTS_id and the added PMT_PID.
Fields§
§lts_id: u8LTS_id (8) — Local TS identifier.
list_management: CaPmtListManagementca_pmt_list_management (Table 15 narrows to {Only, Update}).
program_number: u16program_number (16).
pmt_pid: u16PMT_PID (13) — PID of the selected service’s PMT.
version_number: u85-bit version_number.
current_next_indicator: boolcurrent_next_indicator.
cmd_id: Option<CaPmtCmdId>Programme-level ca_pmt_cmd_id — present only when program_info_length != 0.
program_ca_descriptors: &'a [u8]Programme-level CA_descriptor() loop, verbatim wire bytes (no cmd_id).
streams: Vec<MsCaPmtStream<'a>>Elementary streams in wire order.
Trait Implementations§
impl<'a> Eq for MsCaPmt<'a>
Source§impl<'a> PartialEq for MsCaPmt<'a>
impl<'a> PartialEq for MsCaPmt<'a>
Source§impl Serialize for MsCaPmt<'_>
impl Serialize for MsCaPmt<'_>
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 MsCaPmt<'a>
Auto Trait Implementations§
impl<'a> Freeze for MsCaPmt<'a>
impl<'a> RefUnwindSafe for MsCaPmt<'a>
impl<'a> Send for MsCaPmt<'a>
impl<'a> Sync for MsCaPmt<'a>
impl<'a> Unpin for MsCaPmt<'a>
impl<'a> UnsafeUnpin for MsCaPmt<'a>
impl<'a> UnwindSafe for MsCaPmt<'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