#[non_exhaustive]pub enum InterfaceContentProtection {
None,
Hdcp,
Dpcp,
Reserved(u8),
}Expand description
Content protection mechanism supported on the display interface, decoded from Display Interface Data Block (0x0F) byte 6 bits 1:0.
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.
None
No content protection (0).
Hdcp
High-bandwidth Digital Content Protection (HDCP) (1).
Dpcp
DisplayPort Content Protection (DPCP) (2).
Reserved(u8)
Reserved or unrecognized value (3).
Implementations§
Trait Implementations§
Source§impl Clone for InterfaceContentProtection
impl Clone for InterfaceContentProtection
Source§fn clone(&self) -> InterfaceContentProtection
fn clone(&self) -> InterfaceContentProtection
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InterfaceContentProtection
impl Debug for InterfaceContentProtection
impl Copy for InterfaceContentProtection
impl Eq for InterfaceContentProtection
impl StructuralPartialEq for InterfaceContentProtection
Auto Trait Implementations§
impl Freeze for InterfaceContentProtection
impl RefUnwindSafe for InterfaceContentProtection
impl Send for InterfaceContentProtection
impl Sync for InterfaceContentProtection
impl Unpin for InterfaceContentProtection
impl UnsafeUnpin for InterfaceContentProtection
impl UnwindSafe for InterfaceContentProtection
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