Enum pgp::types::StringToKeyType
source · #[repr(u8)]pub enum StringToKeyType {
Show 16 variants
Simple = 0,
Salted = 1,
Reserved = 2,
IteratedAndSalted = 3,
Private100 = 100,
Private101 = 101,
Private102 = 102,
Private103 = 103,
Private104 = 104,
Private105 = 105,
Private106 = 106,
Private107 = 107,
Private108 = 108,
Private109 = 109,
Private110 = 110,
Other(u8),
}
Expand description
Available String-To-Key types
Variants§
Simple = 0
Salted = 1
Reserved = 2
IteratedAndSalted = 3
Private100 = 100
Private101 = 101
Private102 = 102
Private103 = 103
Private104 = 104
Private105 = 105
Private106 = 106
Private107 = 107
Private108 = 108
Private109 = 109
Private110 = 110
Other(u8)
Implementations§
Trait Implementations§
source§impl Clone for StringToKeyType
impl Clone for StringToKeyType
source§fn clone(&self) -> StringToKeyType
fn clone(&self) -> StringToKeyType
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 StringToKeyType
impl Debug for StringToKeyType
source§impl Default for StringToKeyType
impl Default for StringToKeyType
source§impl From<StringToKeyType> for u8
impl From<StringToKeyType> for u8
source§fn from(enum_value: StringToKeyType) -> Self
fn from(enum_value: StringToKeyType) -> Self
Converts to this type from the input type.
source§impl From<u8> for StringToKeyType
impl From<u8> for StringToKeyType
source§impl FromPrimitive for StringToKeyType
impl FromPrimitive for StringToKeyType
source§impl PartialEq for StringToKeyType
impl PartialEq for StringToKeyType
source§fn eq(&self, other: &StringToKeyType) -> bool
fn eq(&self, other: &StringToKeyType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for StringToKeyType
impl Eq for StringToKeyType
impl StructuralPartialEq for StringToKeyType
Auto Trait Implementations§
impl RefUnwindSafe for StringToKeyType
impl Send for StringToKeyType
impl Sync for StringToKeyType
impl Unpin for StringToKeyType
impl UnwindSafe for StringToKeyType
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