#[non_exhaustive]pub enum DecryptMode {
Raw,
Pkcs1,
OaepMd5,
OaepSha1,
OaepSha224,
OaepSha256,
OaepSha384,
OaepSha512,
AesCbc,
}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.
Trait Implementations§
Source§impl Clone for DecryptMode
impl Clone for DecryptMode
Source§fn clone(&self) -> DecryptMode
fn clone(&self) -> DecryptMode
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 DecryptMode
impl Debug for DecryptMode
Source§impl Default for DecryptMode
impl Default for DecryptMode
Source§fn default() -> DecryptMode
fn default() -> DecryptMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecryptMode
impl<'de> Deserialize<'de> for DecryptMode
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 DecryptMode
impl Display for DecryptMode
Source§impl Hash for DecryptMode
impl Hash for DecryptMode
Source§impl Ord for DecryptMode
impl Ord for DecryptMode
Source§fn cmp(&self, other: &DecryptMode) -> Ordering
fn cmp(&self, other: &DecryptMode) -> 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 DecryptMode
impl PartialEq for DecryptMode
Source§impl PartialOrd for DecryptMode
impl PartialOrd for DecryptMode
Source§impl Serialize for DecryptMode
impl Serialize for DecryptMode
impl Copy for DecryptMode
impl Eq for DecryptMode
impl StructuralPartialEq for DecryptMode
Auto Trait Implementations§
impl Freeze for DecryptMode
impl RefUnwindSafe for DecryptMode
impl Send for DecryptMode
impl Sync for DecryptMode
impl Unpin for DecryptMode
impl UnwindSafe for DecryptMode
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