pub enum EncryptMode {
AesCbc,
}
Expand description
A mode for encrypting a message
Variants§
AesCbc
Encryption using the Advanced Encryption Standard (AES) with Cipher Block Chaining (CBC)
Trait Implementations§
source§impl Clone for EncryptMode
impl Clone for EncryptMode
source§fn clone(&self) -> EncryptMode
fn clone(&self) -> EncryptMode
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 EncryptMode
impl Debug for EncryptMode
source§impl Default for EncryptMode
impl Default for EncryptMode
source§fn default() -> EncryptMode
fn default() -> EncryptMode
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for EncryptMode
impl<'de> Deserialize<'de> for EncryptMode
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 Display for EncryptMode
impl Display for EncryptMode
source§impl<'_derivative_strum> From<&'_derivative_strum EncryptMode> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum EncryptMode> for &'static str
source§fn from(x: &'_derivative_strum EncryptMode) -> &'static str
fn from(x: &'_derivative_strum EncryptMode) -> &'static str
Converts to this type from the input type.
source§impl From<EncryptMode> for &'static str
impl From<EncryptMode> for &'static str
source§fn from(x: EncryptMode) -> &'static str
fn from(x: EncryptMode) -> &'static str
Converts to this type from the input type.
source§impl From<EncryptMode> for EncryptMode
impl From<EncryptMode> for EncryptMode
source§fn from(value: EncryptMode) -> Self
fn from(value: EncryptMode) -> Self
Converts to this type from the input type.
source§impl FromStr for EncryptMode
impl FromStr for EncryptMode
source§impl Hash for EncryptMode
impl Hash for EncryptMode
source§impl IntoEnumIterator for EncryptMode
impl IntoEnumIterator for EncryptMode
type Iterator = EncryptModeIter
fn iter() -> EncryptModeIter ⓘ
source§impl Ord for EncryptMode
impl Ord for EncryptMode
source§fn cmp(&self, other: &EncryptMode) -> Ordering
fn cmp(&self, other: &EncryptMode) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for EncryptMode
impl PartialEq for EncryptMode
source§impl PartialOrd for EncryptMode
impl PartialOrd for EncryptMode
source§impl Serialize for EncryptMode
impl Serialize for EncryptMode
source§impl TryFrom<&str> for EncryptMode
impl TryFrom<&str> for EncryptMode
impl Copy for EncryptMode
impl Eq for EncryptMode
impl StructuralPartialEq for EncryptMode
Auto Trait Implementations§
impl Freeze for EncryptMode
impl RefUnwindSafe for EncryptMode
impl Send for EncryptMode
impl Sync for EncryptMode
impl Unpin for EncryptMode
impl UnwindSafe for EncryptMode
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)