pub struct CarouselIdentifierDescriptor<'a> {
pub carousel_id: u32,
pub format: FormatSpecifier<'a>,
pub private_data: &'a [u8],
}Expand description
Carousel Identifier Descriptor (tag 0x13) — ISO/IEC 13818-6 / ETSI TR 101 202 §4.7.7.1.
Carried in the PMT ES_info loop to bind an elementary stream to a DVB
object carousel. The format field selects the typed
FormatSpecifier variant; the private_data tail follows.
Fields§
§carousel_id: u32carousel_id [31:0] — 32-bit carousel identity, unique per TS.
format: FormatSpecifier<'a>Parsed FormatSpecifier (dispatch on FormatId).
private_data: &'a [u8]private_data_byte tail — zero or more bytes after the FormatSpecifier.
Empty for FormatSpecifier::Other (the whole remainder is in
FormatSpecifier::Other::bytes since the boundary is unknown).
Trait Implementations§
Source§impl<'a> Clone for CarouselIdentifierDescriptor<'a>
impl<'a> Clone for CarouselIdentifierDescriptor<'a>
Source§fn clone(&self) -> CarouselIdentifierDescriptor<'a>
fn clone(&self) -> CarouselIdentifierDescriptor<'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 CarouselIdentifierDescriptor<'a>
impl<'a> Debug for CarouselIdentifierDescriptor<'a>
Source§impl<'a> DescriptorDef<'a> for CarouselIdentifierDescriptor<'a>
impl<'a> DescriptorDef<'a> for CarouselIdentifierDescriptor<'a>
impl<'a> Eq for CarouselIdentifierDescriptor<'a>
Source§impl<'a> From<CarouselIdentifierDescriptor<'a>> for AnyDescriptor<'a>
impl<'a> From<CarouselIdentifierDescriptor<'a>> for AnyDescriptor<'a>
Source§fn from(d: CarouselIdentifierDescriptor<'a>) -> Self
fn from(d: CarouselIdentifierDescriptor<'a>) -> Self
Converts to this type from the input type.
Source§impl<'a> Parse<'a> for CarouselIdentifierDescriptor<'a>
impl<'a> Parse<'a> for CarouselIdentifierDescriptor<'a>
Source§impl<'a> PartialEq for CarouselIdentifierDescriptor<'a>
impl<'a> PartialEq for CarouselIdentifierDescriptor<'a>
Source§fn eq(&self, other: &CarouselIdentifierDescriptor<'a>) -> bool
fn eq(&self, other: &CarouselIdentifierDescriptor<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for CarouselIdentifierDescriptor<'a>
impl<'a> Serialize for CarouselIdentifierDescriptor<'a>
Source§impl Serialize for CarouselIdentifierDescriptor<'_>
impl Serialize for CarouselIdentifierDescriptor<'_>
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 CarouselIdentifierDescriptor<'a>
Source§impl<'a> Yokeable<'a> for CarouselIdentifierDescriptor<'static>
impl<'a> Yokeable<'a> for CarouselIdentifierDescriptor<'static>
Source§type Output = CarouselIdentifierDescriptor<'a>
type Output = CarouselIdentifierDescriptor<'a>
This type MUST be
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> Self::Output
fn transform_owned(self) -> Self::Output
Auto Trait Implementations§
impl<'a> Freeze for CarouselIdentifierDescriptor<'a>
impl<'a> RefUnwindSafe for CarouselIdentifierDescriptor<'a>
impl<'a> Send for CarouselIdentifierDescriptor<'a>
impl<'a> Sync for CarouselIdentifierDescriptor<'a>
impl<'a> Unpin for CarouselIdentifierDescriptor<'a>
impl<'a> UnsafeUnpin for CarouselIdentifierDescriptor<'a>
impl<'a> UnwindSafe for CarouselIdentifierDescriptor<'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