#[non_exhaustive]pub enum PaddingMethod {
None,
OAEP,
PKCS5,
SSL3,
Zeros,
ANSI_X9_23,
ISO_10126,
PKCS1_v1_5,
X9_31,
PSS,
}
Expand description
See KMIP 1.0 section 9.1.3.2.14 Padding Method Enumeration.
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 PaddingMethod
impl Clone for PaddingMethod
Source§fn clone(&self) -> PaddingMethod
fn clone(&self) -> PaddingMethod
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 PaddingMethod
impl Debug for PaddingMethod
Source§impl<'de> Deserialize<'de> for PaddingMethod
impl<'de> Deserialize<'de> for PaddingMethod
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 PaddingMethod
impl Display for PaddingMethod
Source§impl PartialEq for PaddingMethod
impl PartialEq for PaddingMethod
Source§impl Serialize for PaddingMethod
impl Serialize for PaddingMethod
impl Copy for PaddingMethod
impl Eq for PaddingMethod
impl StructuralPartialEq for PaddingMethod
Auto Trait Implementations§
impl Freeze for PaddingMethod
impl RefUnwindSafe for PaddingMethod
impl Send for PaddingMethod
impl Sync for PaddingMethod
impl Unpin for PaddingMethod
impl UnwindSafe for PaddingMethod
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