#[non_exhaustive]pub enum DescriptorType {
Pad,
SystemHardware,
SystemSoftware,
IsoReserved(u8),
DvbReserved(u8),
UserDefined(u8),
}Expand description
Compatibility descriptor type — TS 102 006 Table 16 / ISO/IEC 13818-6.
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.
Pad
0x00 — pad descriptor.
SystemHardware
0x01 — system hardware descriptor.
SystemSoftware
0x02 — system software descriptor.
IsoReserved(u8)
0x03..=0x3F — ISO/IEC 13818-6 reserved.
DvbReserved(u8)
0x40..=0x7F — reserved for future use.
UserDefined(u8)
0x80..=0xFF — user defined.
Implementations§
Trait Implementations§
Source§impl Clone for DescriptorType
impl Clone for DescriptorType
Source§fn clone(&self) -> DescriptorType
fn clone(&self) -> DescriptorType
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 DescriptorType
Source§impl Debug for DescriptorType
impl Debug for DescriptorType
impl Eq for DescriptorType
Source§impl PartialEq for DescriptorType
impl PartialEq for DescriptorType
Source§fn eq(&self, other: &DescriptorType) -> bool
fn eq(&self, other: &DescriptorType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DescriptorType
impl Serialize for DescriptorType
impl StructuralPartialEq for DescriptorType
Auto Trait Implementations§
impl Freeze for DescriptorType
impl RefUnwindSafe for DescriptorType
impl Send for DescriptorType
impl Sync for DescriptorType
impl Unpin for DescriptorType
impl UnsafeUnpin for DescriptorType
impl UnwindSafe for DescriptorType
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