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