#[non_exhaustive]pub enum OuterCipherConfig {
AES256,
Twofish,
ChaCha20,
}Expand description
Choices for outer encryption
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
AES256
Encrypt the database with AES-256 in CBC mode.
Twofish
Encrypt the database with Twofish in CBC mode.
ChaCha20
Encrypt the database with ChaCha20.
Trait Implementations§
Source§impl Clone for OuterCipherConfig
impl Clone for OuterCipherConfig
Source§impl Debug for OuterCipherConfig
impl Debug for OuterCipherConfig
impl Eq for OuterCipherConfig
Source§impl PartialEq for OuterCipherConfig
impl PartialEq for OuterCipherConfig
Source§impl Serialize for OuterCipherConfig
impl Serialize for OuterCipherConfig
impl StructuralPartialEq for OuterCipherConfig
Auto Trait Implementations§
impl Forget for OuterCipherConfig
impl Freeze for OuterCipherConfig
impl Move for OuterCipherConfig
impl RefUnwindSafe for OuterCipherConfig
impl Send for OuterCipherConfig
impl Sync for OuterCipherConfig
impl Unpin for OuterCipherConfig
impl UnsafeUnpin for OuterCipherConfig
impl UnwindSafe for OuterCipherConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more