#[repr(u8)]pub enum SaAuthType {
None = 0,
Md5 = 1,
Md5Hmac = 2,
Sha1Hmac = 3,
Sha256Hmac = 5,
Sha384Hmac = 6,
Sha512Hmac = 7,
}
Expand description
PF_KEY security association authentication types.
Variants§
Trait Implementations§
Source§impl Clone for SaAuthType
impl Clone for SaAuthType
Source§fn clone(&self) -> SaAuthType
fn clone(&self) -> SaAuthType
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 SaAuthType
impl Debug for SaAuthType
Source§impl From<SaAuthType> for u8
impl From<SaAuthType> for u8
Source§fn from(enum_value: SaAuthType) -> Self
fn from(enum_value: SaAuthType) -> Self
Converts to this type from the input type.
Source§impl TryFrom<u8> for SaAuthType
impl TryFrom<u8> for SaAuthType
Source§impl TryFromPrimitive for SaAuthType
impl TryFromPrimitive for SaAuthType
impl Copy for SaAuthType
Auto Trait Implementations§
impl Freeze for SaAuthType
impl RefUnwindSafe for SaAuthType
impl Send for SaAuthType
impl Sync for SaAuthType
impl Unpin for SaAuthType
impl UnwindSafe for SaAuthType
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