pub enum EncryptionMethod {
Aes128 {
uri: String,
iv: Option<u128>,
key_format: KeyFormat,
key_format_versions: Vec<u64>,
},
SampleAes {
uri: String,
iv: Option<u128>,
key_format_versions: Vec<u64>,
},
SampleAesCtr {
uri: String,
key_format_versions: Vec<u64>,
},
}Expand description
Information about the encryption method of a given MediaSegment.
Variants§
Trait Implementations§
Source§impl Clone for EncryptionMethod
impl Clone for EncryptionMethod
Source§fn clone(&self) -> EncryptionMethod
fn clone(&self) -> EncryptionMethod
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 EncryptionMethod
impl Debug for EncryptionMethod
Source§impl PartialEq for EncryptionMethod
impl PartialEq for EncryptionMethod
impl Eq for EncryptionMethod
impl StructuralPartialEq for EncryptionMethod
Auto Trait Implementations§
impl Freeze for EncryptionMethod
impl RefUnwindSafe for EncryptionMethod
impl Send for EncryptionMethod
impl Sync for EncryptionMethod
impl Unpin for EncryptionMethod
impl UnwindSafe for EncryptionMethod
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