pub struct ContentKey {
pub kid: [u8; 16],
pub key: [u8; 16],
}Expand description
A content key plus its 16-byte Key ID (KID).
Fields§
§kid: [u8; 16]The 16-byte key identifier referenced by tenc/pssh.
key: [u8; 16]The 16-byte AES content key.
Trait Implementations§
Source§impl Clone for ContentKey
impl Clone for ContentKey
Source§fn clone(&self) -> ContentKey
fn clone(&self) -> ContentKey
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 moreAuto Trait Implementations§
impl Freeze for ContentKey
impl RefUnwindSafe for ContentKey
impl Send for ContentKey
impl Sync for ContentKey
impl Unpin for ContentKey
impl UnsafeUnpin for ContentKey
impl UnwindSafe for ContentKey
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