Struct keri_core::actor::prelude::HashFunction
source · pub struct HashFunction(/* private fields */);Expand description
Hash Function
Wrapper over possible hash function codes supported by cesrox (SelfAddressing derivation). Provides a way of computing digest depending on specified algorithm code.
Implementations§
Trait Implementations§
source§impl Clone for HashFunction
impl Clone for HashFunction
source§fn clone(&self) -> HashFunction
fn clone(&self) -> HashFunction
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 HashFunction
impl Debug for HashFunction
source§impl Default for HashFunction
impl Default for HashFunction
source§fn default() -> HashFunction
fn default() -> HashFunction
Returns the “default value” for a type. Read more
source§impl From<&HashFunction> for SelfAddressing
impl From<&HashFunction> for SelfAddressing
source§fn from(val: &HashFunction) -> SelfAddressing
fn from(val: &HashFunction) -> SelfAddressing
Converts to this type from the input type.
source§impl From<HashFunction> for SelfAddressing
impl From<HashFunction> for SelfAddressing
source§fn from(val: HashFunction) -> SelfAddressing
fn from(val: HashFunction) -> SelfAddressing
Converts to this type from the input type.
source§impl From<SelfAddressing> for HashFunction
impl From<SelfAddressing> for HashFunction
source§fn from(csa: SelfAddressing) -> HashFunction
fn from(csa: SelfAddressing) -> HashFunction
Converts to this type from the input type.
source§impl FromStr for HashFunction
impl FromStr for HashFunction
source§impl Hash for HashFunction
impl Hash for HashFunction
source§impl PartialEq for HashFunction
impl PartialEq for HashFunction
impl Eq for HashFunction
impl StructuralPartialEq for HashFunction
Auto Trait Implementations§
impl Freeze for HashFunction
impl RefUnwindSafe for HashFunction
impl Send for HashFunction
impl Sync for HashFunction
impl Unpin for HashFunction
impl UnwindSafe for HashFunction
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§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<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.