pub struct Sha256Hashing(/* private fields */);
Expand description
The Sha256 hashing type
Trait Implementations§
Source§impl Clone for Sha256Hashing
impl Clone for Sha256Hashing
Source§fn clone(&self) -> Sha256Hashing
fn clone(&self) -> Sha256Hashing
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 Sha256Hashing
impl Debug for Sha256Hashing
Source§impl<'de> Deserialize<'de> for Sha256Hashing
impl<'de> Deserialize<'de> for Sha256Hashing
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hashing<SHA256_LENGTH> for Sha256Hashing
impl Hashing<SHA256_LENGTH> for Sha256Hashing
Source§fn from_bytes(bytes: &[u8]) -> StacksResult<Self>
fn from_bytes(bytes: &[u8]) -> StacksResult<Self>
Attempt to create a hash from the given bytes
Source§impl Ord for Sha256Hashing
impl Ord for Sha256Hashing
Source§fn cmp(&self, other: &Sha256Hashing) -> Ordering
fn cmp(&self, other: &Sha256Hashing) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Sha256Hashing
impl PartialEq for Sha256Hashing
Source§impl PartialOrd for Sha256Hashing
impl PartialOrd for Sha256Hashing
Source§impl Serialize for Sha256Hashing
impl Serialize for Sha256Hashing
impl Copy for Sha256Hashing
impl Eq for Sha256Hashing
impl StructuralPartialEq for Sha256Hashing
Auto Trait Implementations§
impl Freeze for Sha256Hashing
impl RefUnwindSafe for Sha256Hashing
impl Send for Sha256Hashing
impl Sync for Sha256Hashing
impl Unpin for Sha256Hashing
impl UnwindSafe for Sha256Hashing
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