#[non_exhaustive]pub enum DvbLocatorIdentifier {
None,
EventId {
event_id: u16,
},
TvaIdEit {
tva_id: u16,
},
TvaIdPes {
tva_id: u16,
component: u8,
},
}Expand description
Event identifier within a DVB binary locator (Table 31).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
None
identifier_type == 0x00: no identifier field.
EventId
identifier_type == 0x01: event_id.
TvaIdEit
identifier_type == 0x02: TVA_id carried in EIT.
TvaIdPes
identifier_type == 0x03: TVA_id carried in PES + component.
Trait Implementations§
Source§impl Clone for DvbLocatorIdentifier
impl Clone for DvbLocatorIdentifier
Source§fn clone(&self) -> DvbLocatorIdentifier
fn clone(&self) -> DvbLocatorIdentifier
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 DvbLocatorIdentifier
impl Debug for DvbLocatorIdentifier
impl Eq for DvbLocatorIdentifier
Source§impl PartialEq for DvbLocatorIdentifier
impl PartialEq for DvbLocatorIdentifier
Source§fn eq(&self, other: &DvbLocatorIdentifier) -> bool
fn eq(&self, other: &DvbLocatorIdentifier) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DvbLocatorIdentifier
impl Serialize for DvbLocatorIdentifier
impl StructuralPartialEq for DvbLocatorIdentifier
Auto Trait Implementations§
impl Freeze for DvbLocatorIdentifier
impl RefUnwindSafe for DvbLocatorIdentifier
impl Send for DvbLocatorIdentifier
impl Sync for DvbLocatorIdentifier
impl Unpin for DvbLocatorIdentifier
impl UnsafeUnpin for DvbLocatorIdentifier
impl UnwindSafe for DvbLocatorIdentifier
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