pub struct LabeledKey {
pub label: String,
pub kid: [u8; 16],
pub key: [u8; 16],
pub iv: Option<[u8; 16]>,
}Expand description
A labeled raw key (--keys).
Fields§
§label: String§kid: [u8; 16]§key: [u8; 16]§iv: Option<[u8; 16]>Implementations§
Source§impl LabeledKey
impl LabeledKey
Sourcepub fn parse_list(spec: &str) -> Result<Vec<Self>>
pub fn parse_list(spec: &str) -> Result<Vec<Self>>
Parse --keys label=AUDIO:key_id=hex:key=hex,label=SD:….
Trait Implementations§
Source§impl Clone for LabeledKey
impl Clone for LabeledKey
Source§fn clone(&self) -> LabeledKey
fn clone(&self) -> LabeledKey
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 LabeledKey
impl RefUnwindSafe for LabeledKey
impl Send for LabeledKey
impl Sync for LabeledKey
impl Unpin for LabeledKey
impl UnsafeUnpin for LabeledKey
impl UnwindSafe for LabeledKey
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