#[non_exhaustive]pub enum TargetIdType {
UseTransportStreamId,
UseTargetTransportStreamId,
MatchAnyTransportStreamId,
UseUserDefinedId,
Reserved(u8),
}Expand description
Target id type — ETSI EN 300 468 Table 67.
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.
UseTransportStreamId
0 — use transport_stream_id.
UseTargetTransportStreamId
1 — use target_transport_stream_id.
MatchAnyTransportStreamId
2 — match any transport_stream_id (wildcard).
UseUserDefinedId
3 — use user_defined_id.
Reserved(u8)
Reserved/unallocated wire value, preserved verbatim for round-trip.
Implementations§
Source§impl TargetIdType
impl TargetIdType
Trait Implementations§
Source§impl Clone for TargetIdType
impl Clone for TargetIdType
Source§fn clone(&self) -> TargetIdType
fn clone(&self) -> TargetIdType
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 TargetIdType
Source§impl Debug for TargetIdType
impl Debug for TargetIdType
impl Eq for TargetIdType
Source§impl PartialEq for TargetIdType
impl PartialEq for TargetIdType
Source§fn eq(&self, other: &TargetIdType) -> bool
fn eq(&self, other: &TargetIdType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TargetIdType
impl Serialize for TargetIdType
impl StructuralPartialEq for TargetIdType
Auto Trait Implementations§
impl Freeze for TargetIdType
impl RefUnwindSafe for TargetIdType
impl Send for TargetIdType
impl Sync for TargetIdType
impl Unpin for TargetIdType
impl UnsafeUnpin for TargetIdType
impl UnwindSafe for TargetIdType
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