Struct libipld::cid::multihash::KeccakDigest [−][src]
pub struct KeccakDigest<S>(_)
where
S: Size;
Expand description
Multihash digest.
Trait Implementations
impl<S> Clone for KeccakDigest<S> where
S: Clone + Size,
[src]
impl<S> Clone for KeccakDigest<S> where
S: Clone + Size,
[src]pub fn clone(&self) -> KeccakDigest<S>
[src]
pub fn clone(&self) -> KeccakDigest<S>
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl<S> Debug for KeccakDigest<S> where
S: Debug + Size,
[src]
impl<S> Debug for KeccakDigest<S> where
S: Debug + Size,
[src]impl<S> Default for KeccakDigest<S> where
S: Default + Size,
[src]
impl<S> Default for KeccakDigest<S> where
S: Default + Size,
[src]pub fn default() -> KeccakDigest<S>
[src]
pub fn default() -> KeccakDigest<S>
[src]Returns the “default value” for a type. Read more
impl<S> Digest<S> for KeccakDigest<S> where
S: Size,
[src]
impl<S> Digest<S> for KeccakDigest<S> where
S: Size,
[src]impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B0>, B0>, B0>, B0>>> for Code
[src]impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ KeccakDigest<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B1>, B1>, B0>, B0>>> for Code
[src]impl<S> From<GenericArray<u8, S>> for KeccakDigest<S> where
S: Size,
[src]
impl<S> From<GenericArray<u8, S>> for KeccakDigest<S> where
S: Size,
[src]pub fn from(array: GenericArray<u8, S>) -> KeccakDigest<S>
[src]
pub fn from(array: GenericArray<u8, S>) -> KeccakDigest<S>
[src]Performs the conversion.
impl<S> Hash for KeccakDigest<S> where
S: Hash + Size,
[src]
impl<S> Hash for KeccakDigest<S> where
S: Hash + Size,
[src]impl<S> PartialEq<KeccakDigest<S>> for KeccakDigest<S> where
S: PartialEq<S> + Size,
[src]
impl<S> PartialEq<KeccakDigest<S>> for KeccakDigest<S> where
S: PartialEq<S> + Size,
[src]pub fn eq(&self, other: &KeccakDigest<S>) -> bool
[src]
pub fn eq(&self, other: &KeccakDigest<S>) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &KeccakDigest<S>) -> bool
[src]
pub fn ne(&self, other: &KeccakDigest<S>) -> bool
[src]This method tests for !=
.
impl<'_, S> TryFrom<&'_ [u8]> for KeccakDigest<S> where
S: Size,
[src]
impl<'_, S> TryFrom<&'_ [u8]> for KeccakDigest<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 KeccakDigest<S> where
S: Size,
<S as ArrayLength<u8>>::ArrayType: Copy,
[src]
S: Size,
<S as ArrayLength<u8>>::ArrayType: Copy,
impl<S> Eq for KeccakDigest<S> where
S: Eq + Size,
[src]
S: Eq + Size,
impl<S> StructuralEq for KeccakDigest<S> where
S: Size,
[src]
S: Size,
impl<S> StructuralPartialEq for KeccakDigest<S> where
S: Size,
[src]
S: Size,
Auto Trait Implementations
impl<S> RefUnwindSafe for KeccakDigest<S> where
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<S> Send for KeccakDigest<S>
impl<S> Sync for KeccakDigest<S>
impl<S> Unpin for KeccakDigest<S> where
<S as ArrayLength<u8>>::ArrayType: Unpin,
<S as ArrayLength<u8>>::ArrayType: Unpin,
impl<S> UnwindSafe for KeccakDigest<S> where
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> References<RawCodec> for T
[src]
impl<T> References<RawCodec> for T
[src]impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more