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
source§fn eq(&self, other: &HashFunction) -> bool
fn eq(&self, other: &HashFunction) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for HashFunction
impl StructuralEq for HashFunction
impl StructuralPartialEq for HashFunction
Auto Trait Implementations§
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