pub enum AeadKeyContext {
Uint(u64),
Text(String),
Thumbprint(Vec<u8>),
}Expand description
AEAD encrypted disclosure key context.
Variants§
Uint(u64)
Unsigned integer key context.
Text(String)
Text key context.
Thumbprint(Vec<u8>)
COSE key thumbprint key context.
Trait Implementations§
Source§impl Clone for AeadKeyContext
impl Clone for AeadKeyContext
Source§fn clone(&self) -> AeadKeyContext
fn clone(&self) -> AeadKeyContext
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 AeadKeyContext
impl Debug for AeadKeyContext
Source§impl PartialEq for AeadKeyContext
impl PartialEq for AeadKeyContext
Source§fn eq(&self, other: &AeadKeyContext) -> bool
fn eq(&self, other: &AeadKeyContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AeadKeyContext
Auto Trait Implementations§
impl Freeze for AeadKeyContext
impl RefUnwindSafe for AeadKeyContext
impl Send for AeadKeyContext
impl Sync for AeadKeyContext
impl Unpin for AeadKeyContext
impl UnsafeUnpin for AeadKeyContext
impl UnwindSafe for AeadKeyContext
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