[][src]Struct libipld::cid::multihash::Blake3Digest

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

Multihash digest.

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

impl<'_, S> TryFrom<&'_ [u8]> for Blake3Digest<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 Blake3Digest<S> where
    <S as ArrayLength<u8>>::ArrayType: RefUnwindSafe
[src]

impl<S> Send for Blake3Digest<S>[src]

impl<S> Sync for Blake3Digest<S>[src]

impl<S> Unpin for Blake3Digest<S> where
    <S as ArrayLength<u8>>::ArrayType: Unpin
[src]

impl<S> UnwindSafe for Blake3Digest<S> where
    <S as ArrayLength<u8>>::ArrayType: UnwindSafe
[src]

Blanket Implementations

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

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

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

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

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

impl<T> References<RawCodec> for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

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.