pub struct CaPmt<'a> {
pub list_management: CaPmtListManagement,
pub program_number: u16,
pub version_number: u8,
pub current_next_indicator: bool,
pub cmd_id: Option<CaPmtCmdId>,
pub program_ca_descriptors: &'a [u8],
pub streams: Vec<CaPmtStream<'a>>,
}Expand description
ca_pmt() object (Table 25).
Fields§
§list_management: CaPmtListManagementca_pmt_list_management.
program_number: u16program_number.
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 there is programme-level
CA info (program_info_length != 0).
program_ca_descriptors: &'a [u8]Programme-level CA_descriptor() loop, verbatim wire bytes (no cmd_id).
streams: Vec<CaPmtStream<'a>>Elementary streams in wire order.
Trait Implementations§
impl<'a> Eq for CaPmt<'a>
Source§impl Serialize for CaPmt<'_>
impl Serialize for CaPmt<'_>
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 CaPmt<'a>
Auto Trait Implementations§
impl<'a> Freeze for CaPmt<'a>
impl<'a> RefUnwindSafe for CaPmt<'a>
impl<'a> Send for CaPmt<'a>
impl<'a> Sync for CaPmt<'a>
impl<'a> Unpin for CaPmt<'a>
impl<'a> UnsafeUnpin for CaPmt<'a>
impl<'a> UnwindSafe for CaPmt<'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