Enum dco3_crypto::PlainFileKeyVersion
source · pub enum PlainFileKeyVersion {
AES256CM,
}
Expand description
Represents the used cipher for the plain file key used for symmetric encryption / decryption Only AES256 GCM is currently used
Variants§
AES256CM
Trait Implementations§
source§impl Clone for PlainFileKeyVersion
impl Clone for PlainFileKeyVersion
source§fn clone(&self) -> PlainFileKeyVersion
fn clone(&self) -> PlainFileKeyVersion
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 PlainFileKeyVersion
impl Debug for PlainFileKeyVersion
source§impl<'de> Deserialize<'de> for PlainFileKeyVersion
impl<'de> Deserialize<'de> for PlainFileKeyVersion
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for PlainFileKeyVersion
impl PartialEq for PlainFileKeyVersion
source§fn eq(&self, other: &PlainFileKeyVersion) -> bool
fn eq(&self, other: &PlainFileKeyVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PlainFileKeyVersion
impl Serialize for PlainFileKeyVersion
impl StructuralPartialEq for PlainFileKeyVersion
Auto Trait Implementations§
impl Freeze for PlainFileKeyVersion
impl RefUnwindSafe for PlainFileKeyVersion
impl Send for PlainFileKeyVersion
impl Sync for PlainFileKeyVersion
impl Unpin for PlainFileKeyVersion
impl UnwindSafe for PlainFileKeyVersion
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