pub enum HashMethod {
Sha3_512,
}
Variants§
Sha3_512
Trait Implementations§
Source§impl Clone for HashMethod
impl Clone for HashMethod
Source§fn clone(&self) -> HashMethod
fn clone(&self) -> HashMethod
Returns a duplicate 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 HashMethod
impl Debug for HashMethod
Source§impl Pack for HashMethod
impl Pack for HashMethod
fn encoded_len(&self) -> usize
fn encode(&self, buf: &mut impl BufMut) -> Result<(), PackError>
fn decode(buf: &mut impl Buf) -> Result<Self, PackError>
fn const_encoded_len() -> Option<usize>
fn decode_into(&mut self, buf: &mut impl Buf) -> Result<(), PackError>where
Self: Sized,
Source§impl PartialEq for HashMethod
impl PartialEq for HashMethod
impl Copy for HashMethod
impl Eq for HashMethod
impl StructuralPartialEq for HashMethod
Auto Trait Implementations§
impl Freeze for HashMethod
impl RefUnwindSafe for HashMethod
impl Send for HashMethod
impl Sync for HashMethod
impl Unpin for HashMethod
impl UnwindSafe for HashMethod
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.