Struct libp2p::multihash::KeccakDigest [−][src]
pub struct KeccakDigest<S>(_)
where
S: Size;
Multihash digest.
Trait Implementations
impl<S> Clone for KeccakDigest<S> where
S: Clone + Size,
[src]
impl<S> Clone for KeccakDigest<S> where
S: Clone + Size,
[src]pub fn clone(&self) -> KeccakDigest<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S> Debug for KeccakDigest<S> where
S: Debug + Size,
[src]
impl<S> Debug for KeccakDigest<S> where
S: Debug + Size,
[src]impl<S> Default for KeccakDigest<S> where
S: Default + Size,
[src]
impl<S> Default for KeccakDigest<S> where
S: Default + Size,
[src]pub fn default() -> KeccakDigest<S>
[src]
impl<S> Digest<S> for KeccakDigest<S> where
S: Size,
[src]
impl<S> Digest<S> for KeccakDigest<S> where
S: Size,
[src]impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code
[src]impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code
[src]impl<S> From<GenericArray<u8, S>> for KeccakDigest<S> where
S: Size,
[src]
impl<S> From<GenericArray<u8, S>> for KeccakDigest<S> where
S: Size,
[src]pub fn from(array: GenericArray<u8, S>) -> KeccakDigest<S>
[src]
impl<S> Hash for KeccakDigest<S> where
S: Hash + Size,
[src]
impl<S> Hash for KeccakDigest<S> where
S: Hash + Size,
[src]impl<S> PartialEq<KeccakDigest<S>> for KeccakDigest<S> where
S: PartialEq<S> + Size,
[src]
impl<S> PartialEq<KeccakDigest<S>> for KeccakDigest<S> where
S: PartialEq<S> + Size,
[src]pub fn eq(&self, other: &KeccakDigest<S>) -> bool
[src]
pub fn ne(&self, other: &KeccakDigest<S>) -> bool
[src]
impl<'_, S> TryFrom<&'_ [u8]> for KeccakDigest<S> where
S: Size,
[src]
impl<'_, S> TryFrom<&'_ [u8]> for KeccakDigest<S> where
S: Size,
[src]Convert slice to Digest
.
It errors when the length of the slice does not match the size of the Digest
.
impl<S> Copy for KeccakDigest<S> where
S: Size,
<S as ArrayLength<u8>>::ArrayType: Copy,
[src]
S: Size,
<S as ArrayLength<u8>>::ArrayType: Copy,
impl<S> Eq for KeccakDigest<S> where
S: Eq + Size,
[src]
S: Eq + Size,
impl<S> StructuralEq for KeccakDigest<S> where
S: Size,
[src]
S: Size,
impl<S> StructuralPartialEq for KeccakDigest<S> where
S: Size,
[src]
S: Size,
Auto Trait Implementations
impl<S> RefUnwindSafe for KeccakDigest<S> where
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<S> Send for KeccakDigest<S>
impl<S> Sync for KeccakDigest<S>
impl<S> Unpin for KeccakDigest<S> where
<S as ArrayLength<u8>>::ArrayType: Unpin,
<S as ArrayLength<u8>>::ArrayType: Unpin,
impl<S> UnwindSafe for KeccakDigest<S> where
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,