#[non_exhaustive]pub enum ReferenceType {
Reserved,
SameEs,
ComponentTagEs,
Unallocated(u8),
}Expand description
Reference type coding — ETSI TS 102 809 §9.4.3 Table 45.
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.
Reserved
0x0 — reserved for future use.
SameEs
0x1 — same ES (table_id of the payload section).
ComponentTagEs
0x2 — component tag ES (component_tag of the payload section).
Unallocated(u8)
0x3..=0xF — reserved.
Implementations§
Trait Implementations§
Source§impl Clone for ReferenceType
impl Clone for ReferenceType
Source§fn clone(&self) -> ReferenceType
fn clone(&self) -> ReferenceType
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 ReferenceType
Source§impl Debug for ReferenceType
impl Debug for ReferenceType
impl Eq for ReferenceType
Source§impl PartialEq for ReferenceType
impl PartialEq for ReferenceType
Source§fn eq(&self, other: &ReferenceType) -> bool
fn eq(&self, other: &ReferenceType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ReferenceType
impl Serialize for ReferenceType
impl StructuralPartialEq for ReferenceType
Auto Trait Implementations§
impl Freeze for ReferenceType
impl RefUnwindSafe for ReferenceType
impl Send for ReferenceType
impl Sync for ReferenceType
impl Unpin for ReferenceType
impl UnsafeUnpin for ReferenceType
impl UnwindSafe for ReferenceType
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