#[non_exhaustive]pub enum LinkType {
UriString,
BinaryLocator,
Both,
Descriptor,
DvbReserved(u8),
}Expand description
Link type — ETSI TS 102 323 §10.4.3 Table 111.
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.
UriString
0x0 — URI string only.
BinaryLocator
0x1 — Binary locator only.
Both
0x2 — Both binary locator and URI.
Descriptor
0x3 — Through means of a descriptor.
DvbReserved(u8)
0x4..=0xF — DVB reserved.
Implementations§
Trait Implementations§
impl Copy for LinkType
impl Eq for LinkType
impl StructuralPartialEq for LinkType
Auto Trait Implementations§
impl Freeze for LinkType
impl RefUnwindSafe for LinkType
impl Send for LinkType
impl Sync for LinkType
impl Unpin for LinkType
impl UnsafeUnpin for LinkType
impl UnwindSafe for LinkType
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