Enum coset::EncryptionContext
source · pub enum EncryptionContext {
CoseEncrypt,
CoseEncrypt0,
EncRecipient,
MacRecipient,
RecRecipient,
}
Expand description
Possible encryption contexts.
Variants§
Trait Implementations§
source§impl Clone for EncryptionContext
impl Clone for EncryptionContext
source§fn clone(&self) -> EncryptionContext
fn clone(&self) -> EncryptionContext
Returns a copy of the value. Read more
1.0.0 · 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 EncryptionContext
impl Debug for EncryptionContext
impl Copy for EncryptionContext
Auto Trait Implementations§
impl Freeze for EncryptionContext
impl RefUnwindSafe for EncryptionContext
impl Send for EncryptionContext
impl Sync for EncryptionContext
impl Unpin for EncryptionContext
impl UnwindSafe for EncryptionContext
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