#[non_exhaustive]pub enum HlsEncryptionMethod {
Aes128,
SampleAes,
}Expand description
HLS encryption method for the EXT-X-KEY METHOD attribute
(RFC 8216 §4.3.2.4, docs/drm/hls-sample-aes.md §9).
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.
Implementations§
Trait Implementations§
Source§impl Clone for HlsEncryptionMethod
impl Clone for HlsEncryptionMethod
Source§fn clone(&self) -> HlsEncryptionMethod
fn clone(&self) -> HlsEncryptionMethod
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 HlsEncryptionMethod
Source§impl Debug for HlsEncryptionMethod
impl Debug for HlsEncryptionMethod
Source§impl Display for HlsEncryptionMethod
impl Display for HlsEncryptionMethod
impl Eq for HlsEncryptionMethod
Source§impl PartialEq for HlsEncryptionMethod
impl PartialEq for HlsEncryptionMethod
Source§impl Serialize for HlsEncryptionMethod
impl Serialize for HlsEncryptionMethod
impl StructuralPartialEq for HlsEncryptionMethod
Auto Trait Implementations§
impl Freeze for HlsEncryptionMethod
impl RefUnwindSafe for HlsEncryptionMethod
impl Send for HlsEncryptionMethod
impl Sync for HlsEncryptionMethod
impl Unpin for HlsEncryptionMethod
impl UnsafeUnpin for HlsEncryptionMethod
impl UnwindSafe for HlsEncryptionMethod
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