pub enum KeyEncryptionMethod {
Unencrypted,
SymmetricKey(SymmetricKeyAlgorithm, Vec<u8>),
StringToKey(SymmetricKeyAlgorithm, Vec<u8>, StringToKey),
StringToKeySha1(SymmetricKeyAlgorithm, Vec<u8>, StringToKey),
}Variants§
Unencrypted
SymmetricKey(SymmetricKeyAlgorithm, Vec<u8>)
StringToKey(SymmetricKeyAlgorithm, Vec<u8>, StringToKey)
StringToKeySha1(SymmetricKeyAlgorithm, Vec<u8>, StringToKey)
Trait Implementations§
Source§impl Clone for KeyEncryptionMethod
impl Clone for KeyEncryptionMethod
Source§fn clone(&self) -> KeyEncryptionMethod
fn clone(&self) -> KeyEncryptionMethod
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for KeyEncryptionMethod
impl RefUnwindSafe for KeyEncryptionMethod
impl Send for KeyEncryptionMethod
impl Sync for KeyEncryptionMethod
impl Unpin for KeyEncryptionMethod
impl UnwindSafe for KeyEncryptionMethod
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