pub enum ProtectionSystem {
Common,
Widevine,
PlayReady,
}Expand description
A DRM protection system a pssh box can be generated for.
Variants§
Common
W3C Common / clear-key family (urn:mpeg:dash:mp4protection).
Widevine
Google Widevine.
PlayReady
Microsoft PlayReady.
Implementations§
Trait Implementations§
Source§impl Clone for ProtectionSystem
impl Clone for ProtectionSystem
Source§fn clone(&self) -> ProtectionSystem
fn clone(&self) -> ProtectionSystem
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 ProtectionSystem
Source§impl Debug for ProtectionSystem
impl Debug for ProtectionSystem
impl Eq for ProtectionSystem
Source§impl PartialEq for ProtectionSystem
impl PartialEq for ProtectionSystem
Source§fn eq(&self, other: &ProtectionSystem) -> bool
fn eq(&self, other: &ProtectionSystem) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProtectionSystem
Auto Trait Implementations§
impl Freeze for ProtectionSystem
impl RefUnwindSafe for ProtectionSystem
impl Send for ProtectionSystem
impl Sync for ProtectionSystem
impl Unpin for ProtectionSystem
impl UnsafeUnpin for ProtectionSystem
impl UnwindSafe for ProtectionSystem
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