#[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