#[non_exhaustive]#[repr(u8)]pub enum CopyControl {
CopyControlNotAsserted = 0,
CopyOnce = 1,
CopyNoMore = 2,
CopyNeverZeroRetentionNotAsserted = 3,
CopyNeverZeroRetentionAsserted = 4,
Reserved(u8),
}Expand description
copy_control (cci_and_zero_retention) — ETSI TS 102 825-4 Table 9.
Coded as a 3-bit uimsbf in byte 1 [7:5] of the USI.
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.
CopyControlNotAsserted = 0
0 — Copy Control Not Asserted.
CopyOnce = 1
1 — Copy Once.
CopyNoMore = 2
2 — Copy No More.
CopyNeverZeroRetentionNotAsserted = 3
3 — Copy Never — Zero Retention Not Asserted.
CopyNeverZeroRetentionAsserted = 4
4 — Copy Never — Zero Retention Asserted.
Reserved(u8)
5–7 — Reserved for future use.
Implementations§
Trait Implementations§
Source§impl Clone for CopyControl
impl Clone for CopyControl
Source§fn clone(&self) -> CopyControl
fn clone(&self) -> CopyControl
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 CopyControl
Source§impl Debug for CopyControl
impl Debug for CopyControl
Source§impl Display for CopyControl
impl Display for CopyControl
impl Eq for CopyControl
Source§impl PartialEq for CopyControl
impl PartialEq for CopyControl
Source§fn eq(&self, other: &CopyControl) -> bool
fn eq(&self, other: &CopyControl) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CopyControl
impl Serialize for CopyControl
impl StructuralPartialEq for CopyControl
Auto Trait Implementations§
impl Freeze for CopyControl
impl RefUnwindSafe for CopyControl
impl Send for CopyControl
impl Sync for CopyControl
impl Unpin for CopyControl
impl UnsafeUnpin for CopyControl
impl UnwindSafe for CopyControl
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