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 for HashChoice
impl PartialEq 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 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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)