#[non_exhaustive]pub enum EmiData {
CopyingNotRestricted {
rct: bool,
},
CopyOnce,
OneGenerationCopy {
trick_mode: bool,
},
NoMoreCopies {
dot: bool,
rl: u8,
},
}Expand description
The EMI-case-selected fields of a UriMessage (Table 91). The variant is
chosen by emi_copy_control_info; in the non-matching cases the corresponding
bit positions are reserved (encoded as zero) and not carried.
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.
CopyingNotRestricted
emi_copy_control_info == 0b00 (“copying not restricted”) — carries the
rct_copy_control_info bit.
CopyOnce
emi_copy_control_info == 0b01 — no case-specific bits (those positions
are reserved).
OneGenerationCopy
emi_copy_control_info == 0b10 (“one generation copy is permitted”) —
carries the trick_mode_control_info bit (Table 92).
NoMoreCopies
emi_copy_control_info == 0b11 (“no more copies”) — carries
dot_copy_control_info and rl_copy_control_info.
Implementations§
Trait Implementations§
impl Copy for EmiData
impl Eq for EmiData
impl StructuralPartialEq for EmiData
Auto Trait Implementations§
impl Freeze for EmiData
impl RefUnwindSafe for EmiData
impl Send for EmiData
impl Sync for EmiData
impl Unpin for EmiData
impl UnsafeUnpin for EmiData
impl UnwindSafe for EmiData
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