Enum nethsm_sdk_rs::models::decrypt_mode::DecryptMode
source · pub enum DecryptMode {
Raw,
Pkcs1,
OaepMd5,
OaepSha1,
OaepSha224,
OaepSha256,
OaepSha384,
OaepSha512,
AesCbc,
}Expand description
Variants§
Trait Implementations§
source§impl Clone for DecryptMode
impl Clone for DecryptMode
source§fn clone(&self) -> DecryptMode
fn clone(&self) -> DecryptMode
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 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 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§fn eq(&self, other: &DecryptMode) -> bool
fn eq(&self, other: &DecryptMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DecryptMode
impl PartialOrd for DecryptMode
source§fn partial_cmp(&self, other: &DecryptMode) -> Option<Ordering>
fn partial_cmp(&self, other: &DecryptMode) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for DecryptMode
impl Serialize for DecryptMode
source§impl ToString for DecryptMode
impl ToString for DecryptMode
impl Copy for DecryptMode
impl Eq for DecryptMode
impl StructuralEq for DecryptMode
impl StructuralPartialEq for DecryptMode
Auto Trait Implementations§
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