pub enum EncryptionMode {
Convergent,
ConvergentWithSecret,
RandomKey,
}Expand description
Encryption mode selection for the v0.3 API
Variants§
Convergent
Pure convergent encryption (deduplication across all users)
ConvergentWithSecret
Convergent encryption with secret (controlled deduplication)
RandomKey
Random key encryption (no deduplication)
Trait Implementations§
Source§impl Clone for EncryptionMode
impl Clone for EncryptionMode
Source§fn clone(&self) -> EncryptionMode
fn clone(&self) -> EncryptionMode
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 moreSource§impl Debug for EncryptionMode
impl Debug for EncryptionMode
Source§impl<'de> Deserialize<'de> for EncryptionMode
impl<'de> Deserialize<'de> for EncryptionMode
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 EncryptionMode
impl PartialEq for EncryptionMode
Source§impl Serialize for EncryptionMode
impl Serialize for EncryptionMode
impl Copy for EncryptionMode
impl Eq for EncryptionMode
impl StructuralPartialEq for EncryptionMode
Auto Trait Implementations§
impl Freeze for EncryptionMode
impl RefUnwindSafe for EncryptionMode
impl Send for EncryptionMode
impl Sync for EncryptionMode
impl Unpin for EncryptionMode
impl UnwindSafe for EncryptionMode
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