Enum openmls_traits::types::HashType
source · [−]#[repr(u8)]
pub enum HashType {
Sha2_256,
Sha2_384,
Sha2_512,
}
Expand description
Hash types
Variants
Sha2_256
Sha2_384
Sha2_512
Implementations
Trait Implementations
sourceimpl From<Ciphersuite> for HashType
impl From<Ciphersuite> for HashType
sourcefn from(ciphersuite_name: Ciphersuite) -> Self
fn from(ciphersuite_name: Ciphersuite) -> Self
Performs the conversion.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more