#[repr(u8)]pub enum TlsCipherMac {
Null = 0,
HmacMd5 = 1,
HmacSha1 = 2,
HmacSha256 = 3,
HmacSha384 = 4,
HmacSha512 = 5,
Aead = 6,
}
Expand description
Message Authentication Code (MAC) methods
Variants§
Trait Implementations§
Source§impl Clone for TlsCipherMac
impl Clone for TlsCipherMac
Source§fn clone(&self) -> TlsCipherMac
fn clone(&self) -> TlsCipherMac
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 TlsCipherMac
impl Debug for TlsCipherMac
Source§impl PartialEq for TlsCipherMac
impl PartialEq for TlsCipherMac
Source§impl TryFrom<u8> for TlsCipherMac
impl TryFrom<u8> for TlsCipherMac
Source§type Error = TryFromPrimitiveError<TlsCipherMac>
type Error = TryFromPrimitiveError<TlsCipherMac>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for TlsCipherMac
impl TryFromPrimitive for TlsCipherMac
const NAME: &'static str = "TlsCipherMac"
type Primitive = u8
type Error = TryFromPrimitiveError<TlsCipherMac>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for TlsCipherMac
impl Eq for TlsCipherMac
impl StructuralPartialEq for TlsCipherMac
Auto Trait Implementations§
impl Freeze for TlsCipherMac
impl RefUnwindSafe for TlsCipherMac
impl Send for TlsCipherMac
impl Sync for TlsCipherMac
impl Unpin for TlsCipherMac
impl UnwindSafe for TlsCipherMac
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