Struct libp2p::multiaddr::multihash::Blake2bDigest [−][src]
pub struct Blake2bDigest<S>(_)
where
S: Size;
Multihash digest.
Trait Implementations
impl<S> Clone for Blake2bDigest<S> where
S: Clone + Size,
[src]
impl<S> Clone for Blake2bDigest<S> where
S: Clone + Size,
[src]pub fn clone(&self) -> Blake2bDigest<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S> Debug for Blake2bDigest<S> where
S: Debug + Size,
[src]
impl<S> Debug for Blake2bDigest<S> where
S: Debug + Size,
[src]impl<S> Default for Blake2bDigest<S> where
S: Default + Size,
[src]
impl<S> Default for Blake2bDigest<S> where
S: Default + Size,
[src]pub fn default() -> Blake2bDigest<S>
[src]
impl<S> Digest<S> for Blake2bDigest<S> where
S: Size,
[src]
impl<S> Digest<S> for Blake2bDigest<S> where
S: Size,
[src]impl<'_> From<&'_ Blake2bDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ Blake2bDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]impl<'_> From<&'_ Blake2bDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ Blake2bDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]impl<S> From<GenericArray<u8, S>> for Blake2bDigest<S> where
S: Size,
[src]
impl<S> From<GenericArray<u8, S>> for Blake2bDigest<S> where
S: Size,
[src]pub fn from(array: GenericArray<u8, S>) -> Blake2bDigest<S>
[src]
impl<S> Hash for Blake2bDigest<S> where
S: Hash + Size,
[src]
impl<S> Hash for Blake2bDigest<S> where
S: Hash + Size,
[src]impl<S> PartialEq<Blake2bDigest<S>> for Blake2bDigest<S> where
S: PartialEq<S> + Size,
[src]
impl<S> PartialEq<Blake2bDigest<S>> for Blake2bDigest<S> where
S: PartialEq<S> + Size,
[src]pub fn eq(&self, other: &Blake2bDigest<S>) -> bool
[src]
pub fn ne(&self, other: &Blake2bDigest<S>) -> bool
[src]
impl<'_, S> TryFrom<&'_ [u8]> for Blake2bDigest<S> where
S: Size,
[src]
impl<'_, S> TryFrom<&'_ [u8]> for Blake2bDigest<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 Blake2bDigest<S> where
S: Size,
<S as ArrayLength<u8>>::ArrayType: Copy,
[src]
S: Size,
<S as ArrayLength<u8>>::ArrayType: Copy,
impl<S> Eq for Blake2bDigest<S> where
S: Eq + Size,
[src]
S: Eq + Size,
impl<S> StructuralEq for Blake2bDigest<S> where
S: Size,
[src]
S: Size,
impl<S> StructuralPartialEq for Blake2bDigest<S> where
S: Size,
[src]
S: Size,
Auto Trait Implementations
impl<S> RefUnwindSafe for Blake2bDigest<S> where
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<S> Send for Blake2bDigest<S>
impl<S> Sync for Blake2bDigest<S>
impl<S> Unpin for Blake2bDigest<S> where
<S as ArrayLength<u8>>::ArrayType: Unpin,
<S as ArrayLength<u8>>::ArrayType: Unpin,
impl<S> UnwindSafe for Blake2bDigest<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>,