pub struct CaPmtBuilt { /* private fields */ }Expand description
An owned, CA-only projection of a PMT. Holds the filtered CA_descriptor
loops (programme + per-ES) so a borrowed CaPmt can be reconstructed.
Implementations§
Source§impl CaPmtBuilt
impl CaPmtBuilt
Sourcepub fn as_ca_pmt(&self) -> CaPmt<'_>
pub fn as_ca_pmt(&self) -> CaPmt<'_>
Borrow a CaPmt view over the owned filtered descriptor loops. The
ca_pmt_cmd_id is attached to a loop only when that loop has surviving
CA descriptors (matching Table 25’s ..._info_length != 0 guard).
Sourcepub fn retain_caids(&mut self, allowed: &[u16])
pub fn retain_caids(&mut self, allowed: &[u16])
Drop every CA_descriptor (programme- and ES-level) whose CA_system_id
is not in allowed. Use this to post-filter a ca_pmt to the CAM’s
advertised CAIDs once its ca_info is known (equivalent to having built
it with build_ca_pmt_for_caids).
Trait Implementations§
Source§impl Clone for CaPmtBuilt
impl Clone for CaPmtBuilt
Source§fn clone(&self) -> CaPmtBuilt
fn clone(&self) -> CaPmtBuilt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CaPmtBuilt
impl Debug for CaPmtBuilt
impl Eq for CaPmtBuilt
Source§impl PartialEq for CaPmtBuilt
impl PartialEq for CaPmtBuilt
impl StructuralPartialEq for CaPmtBuilt
Auto Trait Implementations§
impl Freeze for CaPmtBuilt
impl RefUnwindSafe for CaPmtBuilt
impl Send for CaPmtBuilt
impl Sync for CaPmtBuilt
impl Unpin for CaPmtBuilt
impl UnsafeUnpin for CaPmtBuilt
impl UnwindSafe for CaPmtBuilt
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