pub enum HashConfig {
None,
Sha256([u8; 32]),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for HashConfig
impl Clone for HashConfig
Source§fn clone(&self) -> HashConfig
fn clone(&self) -> HashConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for HashConfig
Source§impl Debug for HashConfig
impl Debug for HashConfig
impl Eq for HashConfig
Source§impl PartialEq for HashConfig
impl PartialEq for HashConfig
Source§fn eq(&self, other: &HashConfig) -> bool
fn eq(&self, other: &HashConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HashConfig
Auto Trait Implementations§
impl Freeze for HashConfig
impl RefUnwindSafe for HashConfig
impl Send for HashConfig
impl Sync for HashConfig
impl Unpin for HashConfig
impl UnsafeUnpin for HashConfig
impl UnwindSafe for HashConfig
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