Enum snow::params::HashChoice
source · 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 copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
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<HashChoice> for HashChoice
impl PartialEq<HashChoice> for HashChoice
source§fn eq(&self, other: &HashChoice) -> bool
fn eq(&self, other: &HashChoice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HashChoice
impl StructuralPartialEq for HashChoice
Auto Trait Implementations§
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