#[non_exhaustive]pub enum IdentifierType {
None,
EventId,
TvaIdEit,
TvaIdPes,
}Expand description
Identifier type — ETSI TS 102 323 v1.4.1 §7.3.2.3.3 Table 32
(docs/ts_102_323_tva.md, Table 32 — Identifier type).
2-bit field in the DVB binary locator. Selects what kind of event identifier field (if any) is present.
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
0b00 — no event identifier field is present.
EventId
0b01 — event identifier is an event_id.
TvaIdEit
0b10 — event identifier is a TVA_id carried in EIT.
TvaIdPes
0b11 — event identifier is a TVA_id carried in PES.
Implementations§
Trait Implementations§
Source§impl Clone for IdentifierType
impl Clone for IdentifierType
Source§fn clone(&self) -> IdentifierType
fn clone(&self) -> IdentifierType
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 moreimpl Copy for IdentifierType
Source§impl Debug for IdentifierType
impl Debug for IdentifierType
Source§impl Display for IdentifierType
impl Display for IdentifierType
impl Eq for IdentifierType
Source§impl PartialEq for IdentifierType
impl PartialEq for IdentifierType
Source§fn eq(&self, other: &IdentifierType) -> bool
fn eq(&self, other: &IdentifierType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IdentifierType
impl Serialize for IdentifierType
impl StructuralPartialEq for IdentifierType
Auto Trait Implementations§
impl Freeze for IdentifierType
impl RefUnwindSafe for IdentifierType
impl Send for IdentifierType
impl Sync for IdentifierType
impl Unpin for IdentifierType
impl UnsafeUnpin for IdentifierType
impl UnwindSafe for IdentifierType
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