pub struct Sha3Digest<const S: usize>(/* private fields */);
Expand description
Multihash digest.
Trait Implementations§
Source§impl<const S: usize> Clone for Sha3Digest<S>
impl<const S: usize> Clone for Sha3Digest<S>
Source§fn clone(&self) -> Sha3Digest<S>
fn clone(&self) -> Sha3Digest<S>
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<const S: usize> Debug for Sha3Digest<S>
impl<const S: usize> Debug for Sha3Digest<S>
Source§impl<const S: usize> Default for Sha3Digest<S>
impl<const S: usize> Default for Sha3Digest<S>
Source§impl<const S: usize> Digest<S> for Sha3Digest<S>
impl<const S: usize> Digest<S> for Sha3Digest<S>
Source§impl From<&Sha3Digest<28>> for Code
impl From<&Sha3Digest<28>> for Code
Source§fn from(digest: &Sha3Digest<28>) -> Self
fn from(digest: &Sha3Digest<28>) -> Self
Converts to this type from the input type.
Source§impl From<&Sha3Digest<32>> for Code
impl From<&Sha3Digest<32>> for Code
Source§fn from(digest: &Sha3Digest<32>) -> Self
fn from(digest: &Sha3Digest<32>) -> Self
Converts to this type from the input type.
Source§impl From<&Sha3Digest<48>> for Code
impl From<&Sha3Digest<48>> for Code
Source§fn from(digest: &Sha3Digest<48>) -> Self
fn from(digest: &Sha3Digest<48>) -> Self
Converts to this type from the input type.
Source§impl From<&Sha3Digest<64>> for Code
impl From<&Sha3Digest<64>> for Code
Source§fn from(digest: &Sha3Digest<64>) -> Self
fn from(digest: &Sha3Digest<64>) -> Self
Converts to this type from the input type.
Source§impl<const S: usize> From<Sha3Digest<S>> for [u8; S]
impl<const S: usize> From<Sha3Digest<S>> for [u8; S]
Source§fn from(digest: Sha3Digest<S>) -> Self
fn from(digest: Sha3Digest<S>) -> Self
Converts to this type from the input type.
Source§impl<const S: usize> Hash for Sha3Digest<S>
impl<const S: usize> Hash for Sha3Digest<S>
Source§impl<const S: usize> PartialEq for Sha3Digest<S>
impl<const S: usize> PartialEq for Sha3Digest<S>
Source§impl<const S: usize> TryFrom<&[u8]> for Sha3Digest<S>
Convert slice to Digest
.
impl<const S: usize> TryFrom<&[u8]> for Sha3Digest<S>
Convert slice to Digest
.
It errors when the length of the slice does not match the size of the
Digest
.
impl<const S: usize> Copy for Sha3Digest<S>
impl<const S: usize> Eq for Sha3Digest<S>
impl<const S: usize> StructuralPartialEq for Sha3Digest<S>
Auto Trait Implementations§
impl<const S: usize> Freeze for Sha3Digest<S>
impl<const S: usize> RefUnwindSafe for Sha3Digest<S>
impl<const S: usize> Send for Sha3Digest<S>
impl<const S: usize> Sync for Sha3Digest<S>
impl<const S: usize> Unpin for Sha3Digest<S>
impl<const S: usize> UnwindSafe for Sha3Digest<S>
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