pub struct TrackEncryption {
pub is_protected: bool,
pub per_sample_iv_size: u8,
pub kid: [u8; 16],
pub constant_iv: SmallVec<[u8; 16]>,
}Expand description
Default encryption parameters from tenc.
Fields§
§is_protected: boolNon-zero when samples are protected by default.
per_sample_iv_size: u8Per-sample IV size in bytes (0 ⇒ constant IV).
kid: [u8; 16]Key ID (16 bytes).
constant_iv: SmallVec<[u8; 16]>Constant IV when per_sample_iv_size == 0 (8 or 16 bytes).
Trait Implementations§
Source§impl Clone for TrackEncryption
impl Clone for TrackEncryption
Source§fn clone(&self) -> TrackEncryption
fn clone(&self) -> TrackEncryption
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 moreSource§impl Debug for TrackEncryption
impl Debug for TrackEncryption
impl Eq for TrackEncryption
Source§impl PartialEq for TrackEncryption
impl PartialEq for TrackEncryption
impl StructuralPartialEq for TrackEncryption
Auto Trait Implementations§
impl Freeze for TrackEncryption
impl RefUnwindSafe for TrackEncryption
impl Send for TrackEncryption
impl Sync for TrackEncryption
impl Unpin for TrackEncryption
impl UnsafeUnpin for TrackEncryption
impl UnwindSafe for TrackEncryption
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