pub enum HashChoice {
SHA256,
SHA512,
Blake2s,
Blake2b,
}
Expand description
One of the supported SHA-family or BLAKE-family hash choices, per the spec.
Variants§
Trait Implementations§
Source§impl Clone for HashChoice
impl Clone for HashChoice
Source§fn clone(&self) -> HashChoice
fn clone(&self) -> HashChoice
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HashChoice
impl Debug for HashChoice
Source§impl FromStr for HashChoice
impl FromStr for HashChoice
Source§impl PartialEq for HashChoice
impl PartialEq for HashChoice
impl Copy for HashChoice
impl StructuralPartialEq for HashChoice
Auto Trait Implementations§
impl Freeze for HashChoice
impl RefUnwindSafe for HashChoice
impl Send for HashChoice
impl Sync for HashChoice
impl Unpin for HashChoice
impl UnwindSafe for HashChoice
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