#[repr(u8)]pub enum HashType {
Sha2_256,
Sha2_384,
Sha2_512,
}
Expand description
Hash types
Variants§
Implementations§
Trait Implementations§
source§impl From<Ciphersuite> for HashType
impl From<Ciphersuite> for HashType
source§fn from(ciphersuite_name: Ciphersuite) -> HashType
fn from(ciphersuite_name: Ciphersuite) -> HashType
Converts to this type from the input type.
source§impl PartialEq<HashType> for HashType
impl PartialEq<HashType> for HashType
impl Copy for HashType
impl Eq for HashType
impl StructuralEq for HashType
impl StructuralPartialEq for HashType
Auto Trait Implementations§
impl RefUnwindSafe for HashType
impl Send for HashType
impl Sync for HashType
impl Unpin for HashType
impl UnwindSafe for HashType
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