Enum btlib::crypto::SymKeyKind
source · pub enum SymKeyKind {
Aes256Cbc,
Aes256Ctr,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Aes256Cbc
A key for the AES 256 cipher in Cipher Block Chaining mode. Note that this includes the initialization vector, so that a value of this variant contains all the information needed to fully initialize a cipher context.
Aes256Ctr
A key for the AES 256 cipher in counter mode.
Trait Implementations§
source§impl Clone for SymKeyKind
impl Clone for SymKeyKind
source§fn clone(&self) -> SymKeyKind
fn clone(&self) -> SymKeyKind
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 SymKeyKind
impl Debug for SymKeyKind
source§impl Default for SymKeyKind
impl Default for SymKeyKind
source§impl<'_enum> From<&'_enum SymKey> for SymKeyKind
impl<'_enum> From<&'_enum SymKey> for SymKeyKind
source§fn from(val: &'_enum SymKey) -> SymKeyKind
fn from(val: &'_enum SymKey) -> SymKeyKind
Converts to this type from the input type.
source§impl From<SymKey> for SymKeyKind
impl From<SymKey> for SymKeyKind
source§fn from(val: SymKey) -> SymKeyKind
fn from(val: SymKey) -> SymKeyKind
Converts to this type from the input type.
source§impl PartialEq<SymKeyKind> for SymKeyKind
impl PartialEq<SymKeyKind> for SymKeyKind
source§fn eq(&self, other: &SymKeyKind) -> bool
fn eq(&self, other: &SymKeyKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SymKeyKind
impl Eq for SymKeyKind
impl StructuralEq for SymKeyKind
impl StructuralPartialEq for SymKeyKind
Auto Trait Implementations§
impl RefUnwindSafe for SymKeyKind
impl Send for SymKeyKind
impl Sync for SymKeyKind
impl Unpin for SymKeyKind
impl UnwindSafe for SymKeyKind
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