pub struct CaPmtStream<'a> {
pub stream_type: u8,
pub elementary_pid: u16,
pub cmd_id: Option<CaPmtCmdId>,
pub ca_descriptors: &'a [u8],
}Expand description
One elementary-stream entry in a ca_pmt.
Fields§
§stream_type: u8MPEG-2 stream_type.
elementary_pid: u1613-bit elementary_PID.
cmd_id: Option<CaPmtCmdId>ca_pmt_cmd_id for this ES — present only when the ES has CA info
(i.e. when ca_descriptors is non-empty), per the ES_info_length != 0
guard in Table 25.
ca_descriptors: &'a [u8]The ES-level CA_descriptor() loop, verbatim wire bytes (no cmd_id).
Trait Implementations§
Source§impl<'a> Clone for CaPmtStream<'a>
impl<'a> Clone for CaPmtStream<'a>
Source§fn clone(&self) -> CaPmtStream<'a>
fn clone(&self) -> CaPmtStream<'a>
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<'a> Debug for CaPmtStream<'a>
impl<'a> Debug for CaPmtStream<'a>
impl<'a> Eq for CaPmtStream<'a>
Source§impl<'a> PartialEq for CaPmtStream<'a>
impl<'a> PartialEq for CaPmtStream<'a>
Source§fn eq(&self, other: &CaPmtStream<'a>) -> bool
fn eq(&self, other: &CaPmtStream<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for CaPmtStream<'a>
impl<'a> Serialize for CaPmtStream<'a>
impl<'a> StructuralPartialEq for CaPmtStream<'a>
Auto Trait Implementations§
impl<'a> Freeze for CaPmtStream<'a>
impl<'a> RefUnwindSafe for CaPmtStream<'a>
impl<'a> Send for CaPmtStream<'a>
impl<'a> Sync for CaPmtStream<'a>
impl<'a> Unpin for CaPmtStream<'a>
impl<'a> UnsafeUnpin for CaPmtStream<'a>
impl<'a> UnwindSafe for CaPmtStream<'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