#[repr(u8)]pub enum SaEncryptType {
None = 0,
DesCbc = 2,
DesCbc3 = 3,
Blowfish = 7,
Null = 11,
Aes = 12,
AesCcm8 = 14,
AesCcm12 = 15,
AesCcm16 = 16,
AesGcm8 = 18,
AesGcm12 = 19,
AesGcm16 = 20,
}
Expand description
PF_KEY security association encryption types.
Variants§
None = 0
DesCbc = 2
DesCbc3 = 3
Blowfish = 7
Null = 11
Aes = 12
AesCcm8 = 14
AesCcm12 = 15
AesCcm16 = 16
AesGcm8 = 18
AesGcm12 = 19
AesGcm16 = 20
Trait Implementations§
Source§impl Clone for SaEncryptType
impl Clone for SaEncryptType
Source§fn clone(&self) -> SaEncryptType
fn clone(&self) -> SaEncryptType
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 SaEncryptType
impl Debug for SaEncryptType
Source§impl From<SaEncryptType> for u8
impl From<SaEncryptType> for u8
Source§fn from(enum_value: SaEncryptType) -> Self
fn from(enum_value: SaEncryptType) -> Self
Converts to this type from the input type.
Source§impl TryFrom<u8> for SaEncryptType
impl TryFrom<u8> for SaEncryptType
Source§impl TryFromPrimitive for SaEncryptType
impl TryFromPrimitive for SaEncryptType
impl Copy for SaEncryptType
Auto Trait Implementations§
impl Freeze for SaEncryptType
impl RefUnwindSafe for SaEncryptType
impl Send for SaEncryptType
impl Sync for SaEncryptType
impl Unpin for SaEncryptType
impl UnwindSafe for SaEncryptType
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