pub enum CipherMode {
Gcm,
}
Expand description
The Cipher mode. Note: Currently only GCM is supported
Variants§
Gcm
Trait Implementations§
Source§impl Clone for CipherMode
impl Clone for CipherMode
Source§fn clone(&self) -> CipherMode
fn clone(&self) -> CipherMode
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 CipherMode
impl Debug for CipherMode
Source§impl<'de> Deserialize<'de> for CipherMode
impl<'de> Deserialize<'de> for CipherMode
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 From<CipherMode> for String
impl From<CipherMode> for String
Source§fn from(given_enum: CipherMode) -> Self
fn from(given_enum: CipherMode) -> Self
Converts to this type from the input type.
Source§impl Serialize for CipherMode
impl Serialize for CipherMode
Source§impl TryFrom<String> for CipherMode
impl TryFrom<String> for CipherMode
impl Copy for CipherMode
Auto Trait Implementations§
impl Freeze for CipherMode
impl RefUnwindSafe for CipherMode
impl Send for CipherMode
impl Sync for CipherMode
impl Unpin for CipherMode
impl UnwindSafe for CipherMode
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