Struct sc_network::multiaddr::multihash::Sha3Digest[][src]

pub struct Sha3Digest<S>(_)
where
    S: Size
;

Multihash digest.

Trait Implementations

impl<S> AsMut<[u8]> for Sha3Digest<S> where
    S: Size
[src]

impl<S> AsRef<[u8]> for Sha3Digest<S> where
    S: Size
[src]

impl<S> Clone for Sha3Digest<S> where
    S: Clone + Size
[src]

impl<S> Copy for Sha3Digest<S> where
    S: Size,
    <S as ArrayLength<u8>>::ArrayType: Copy
[src]

impl<S> Debug for Sha3Digest<S> where
    S: Debug + Size
[src]

impl<S> Default for Sha3Digest<S> where
    S: Default + Size
[src]

impl<S> Digest<S> for Sha3Digest<S> where
    S: Size
[src]

impl<S> Eq for Sha3Digest<S> where
    S: Eq + Size
[src]

impl<'_> From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code[src]

impl<'_> From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code[src]

impl<'_> From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code[src]

impl<'_> From<&'_ Sha3Digest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code[src]

impl<S> From<GenericArray<u8, S>> for Sha3Digest<S> where
    S: Size
[src]

impl<S> Hash for Sha3Digest<S> where
    S: Hash + Size
[src]

impl<S> PartialEq<Sha3Digest<S>> for Sha3Digest<S> where
    S: PartialEq<S> + Size
[src]

impl<S> StructuralEq for Sha3Digest<S> where
    S: Size
[src]

impl<S> StructuralPartialEq for Sha3Digest<S> where
    S: Size
[src]

impl<'_, S> TryFrom<&'_ [u8]> for Sha3Digest<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.

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<S> RefUnwindSafe for Sha3Digest<S> where
    <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

impl<S> UnwindSafe for Sha3Digest<S> where
    <S as ArrayLength<u8>>::ArrayType: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T, U> AsByteSlice<T> for U where
    T: ToByteSlice,
    U: AsRef<[T]> + ?Sized
[src]

impl<T, U> AsMutByteSlice<T> for U where
    T: ToMutByteSlice,
    U: AsMut<[T]> + ?Sized
[src]

impl<U> AsMutSliceOf for U where
    U: AsMut<[u8]> + ?Sized
[src]

impl<U> AsSliceOf for U where
    U: AsRef<[u8]> + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash
[src]

impl<T> CheckedConversion for T[src]

impl<T> Clear for T where
    T: Default + Eq + PartialEq<T>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> ExHashT for T where
    T: Hash + Eq + Debug + Clone + Send + Sync + 'static, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 
[src]

pub fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> MaybeHash for T where
    T: Hash
[src]

impl<T> MaybeHash for T where
    T: Hash
[src]

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe
[src]

impl<Ctx, T> MeasureWith<Ctx> for T where
    T: AsRef<[u8]>, 
[src]

impl<T> Member for T where
    T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> ProtocolName for T where
    T: AsRef<[u8]>, 
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> SaturatedConversion for T[src]

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

impl<T, S> UniqueSaturatedInto<T> for S where
    T: Bounded,
    S: TryInto<T>, 
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]