Enum tls_parser::TlsPRF
source · #[repr(u8)]pub enum TlsPRF {
Default = 0,
Null = 1,
Md5AndSha1 = 2,
Sha1 = 3,
Sha256 = 4,
Sha384 = 5,
Sha512 = 6,
Sm3 = 7,
}Expand description
Pseudo-Random Function (PRF) Function
Variants§
Trait Implementations§
source§impl TryFromPrimitive for TlsPRF
impl TryFromPrimitive for TlsPRF
impl Copy for TlsPRF
impl Eq for TlsPRF
impl StructuralPartialEq for TlsPRF
Auto Trait Implementations§
impl Freeze for TlsPRF
impl RefUnwindSafe for TlsPRF
impl Send for TlsPRF
impl Sync for TlsPRF
impl Unpin for TlsPRF
impl UnwindSafe for TlsPRF
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)