Struct libp2p::core::multiaddr::multihash::Sha3Digest    [−][src]
Multihash digest.
Trait Implementations
impl<S> AsMut<[u8]> for Sha3Digest<S> where
    S: Size, [src]
S: Size,
impl<S> AsRef<[u8]> for Sha3Digest<S> where
    S: Size, [src]
S: Size,
impl<S> Clone for Sha3Digest<S> where
    S: Clone + Size, [src]
S: Clone + Size,
pub fn clone(&self) -> Sha3Digest<S>[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<S> Copy for Sha3Digest<S> where
    S: Size,
    <S as ArrayLength<u8>>::ArrayType: Copy, [src]
S: Size,
<S as ArrayLength<u8>>::ArrayType: Copy,
impl<S> Debug for Sha3Digest<S> where
    S: Debug + Size, [src]
S: Debug + Size,
impl<S> Default for Sha3Digest<S> where
    S: Default + Size, [src]
S: Default + Size,
pub fn default() -> Sha3Digest<S>[src]
impl<S> Digest<S> for Sha3Digest<S> where
    S: Size, [src]
S: Size,
pub fn size(&self) -> u8[src]
pub fn wrap(digest: &[u8]) -> Result<Self, Error>[src]
pub fn from_reader<R>(r: R) -> Result<Self, Error> where
    R: Read, [src]
R: Read,
impl<S> Eq for Sha3Digest<S> where
    S: Eq + Size, [src]
S: Eq + Size,
impl<'_> From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code[src]
pub fn from(
    digest: &Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>
) -> Code[src]
digest: &Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>
) -> Code
impl<'_> From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code[src]
pub fn from(
    digest: &Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
) -> Code[src]
digest: &Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>
) -> Code
impl<'_> From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code[src]
pub fn from(
    digest: &Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>
) -> Code[src]
digest: &Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>
) -> Code
impl<'_> From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code[src]
pub fn from(
    digest: &Sha3Digest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
) -> Code[src]
digest: &Sha3Digest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>
) -> Code
impl<S> From<GenericArray<u8, S>> for Sha3Digest<S> where
    S: Size, [src]
S: Size,
pub fn from(array: GenericArray<u8, S>) -> Sha3Digest<S>[src]
impl<S> Hash for Sha3Digest<S> where
    S: Hash + Size, [src]
S: Hash + Size,
pub fn hash<__H>(&self, state: &mut __H) where
    __H: Hasher, [src]
__H: Hasher,
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src]
H: Hasher,
impl<S> PartialEq<Sha3Digest<S>> for Sha3Digest<S> where
    S: PartialEq<S> + Size, [src]
S: PartialEq<S> + Size,
pub fn eq(&self, other: &Sha3Digest<S>) -> bool[src]
pub fn ne(&self, other: &Sha3Digest<S>) -> bool[src]
impl<S> StructuralEq for Sha3Digest<S> where
    S: Size, [src]
S: Size,
impl<S> StructuralPartialEq for Sha3Digest<S> where
    S: Size, [src]
S: Size,
impl<'_, S> TryFrom<&'_ [u8]> for Sha3Digest<S> where
    S: Size, [src]
S: Size,
Convert slice to Digest.
It errors when the length of the slice does not match the size of the Digest.
Auto Trait Implementations
impl<S> RefUnwindSafe for Sha3Digest<S> where
    <S as ArrayLength<u8>>::ArrayType: RefUnwindSafe, 
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<S> Send for Sha3Digest<S>
impl<S> Sync for Sha3Digest<S>
impl<S> Unpin for Sha3Digest<S> where
    <S as ArrayLength<u8>>::ArrayType: Unpin, 
<S as ArrayLength<u8>>::ArrayType: Unpin,
impl<S> UnwindSafe for Sha3Digest<S> where
    <S as ArrayLength<u8>>::ArrayType: UnwindSafe, 
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> CallHasher for T where
    T: Hash, [src]
T: Hash,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> ProtocolName for T where
    T: AsRef<[u8]>, [src]
T: AsRef<[u8]>,
pub fn protocol_name(&self) -> &[u8][src]
impl<T> Same<T> for T[src]
type Output = T
Should always be Self
impl<T> ToHex for T where
    T: AsRef<[u8]>, [src]
T: AsRef<[u8]>,
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>,
impl<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, [src]
V: MultiLane<T>,