Struct multihash::Sha2Digest [−][src]
pub struct Sha2Digest<S: Size>(_);
Multihash digest.
Trait Implementations
impl<S: Clone + Size> Clone for Sha2Digest<S>
[src]
impl<S: Clone + Size> Clone for Sha2Digest<S>
[src]fn clone(&self) -> Sha2Digest<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Debug + Size> Debug for Sha2Digest<S>
[src]
impl<S: Debug + Size> Debug for Sha2Digest<S>
[src]impl<S: Default + Size> Default for Sha2Digest<S>
[src]
impl<S: Default + Size> Default for Sha2Digest<S>
[src]fn default() -> Sha2Digest<S>
[src]
impl<S: Size> Digest<S> for Sha2Digest<S>
[src]
impl<S: Size> Digest<S> for Sha2Digest<S>
[src]impl From<&'_ Sha2Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Sha2Digest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Sha2Digest<U64>) -> Self
[src]
impl From<&'_ Sha2Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl From<&'_ Sha2Digest<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]fn from(digest: &Sha2Digest<U32>) -> Self
[src]
impl<S: Size> From<GenericArray<u8, S>> for Sha2Digest<S>
[src]
impl<S: Size> From<GenericArray<u8, S>> for Sha2Digest<S>
[src]fn from(array: GenericArray<u8, S>) -> Self
[src]
impl<S: Size> From<Sha2Digest<S>> for GenericArray<u8, S>
[src]
impl<S: Size> From<Sha2Digest<S>> for GenericArray<u8, S>
[src]fn from(digest: Sha2Digest<S>) -> Self
[src]
impl<S: Hash + Size> Hash for Sha2Digest<S>
[src]
impl<S: Hash + Size> Hash for Sha2Digest<S>
[src]impl<S: PartialEq + Size> PartialEq<Sha2Digest<S>> for Sha2Digest<S>
[src]
impl<S: PartialEq + Size> PartialEq<Sha2Digest<S>> for Sha2Digest<S>
[src]fn eq(&self, other: &Sha2Digest<S>) -> bool
[src]
fn ne(&self, other: &Sha2Digest<S>) -> bool
[src]
impl<S: Size> TryFrom<&'_ [u8]> for Sha2Digest<S>
[src]
impl<S: Size> TryFrom<&'_ [u8]> for Sha2Digest<S>
[src]Convert slice to Digest
.
It errors when the length of the slice does not match the size of the Digest
.
impl<S: Size> Copy for Sha2Digest<S> where
S::ArrayType: Copy,
[src]
S::ArrayType: Copy,
impl<S: Eq + Size> Eq for Sha2Digest<S>
[src]
impl<S: Size> StructuralEq for Sha2Digest<S>
[src]
impl<S: Size> StructuralPartialEq for Sha2Digest<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for Sha2Digest<S> where
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<S> Send for Sha2Digest<S>
impl<S> Sync for Sha2Digest<S>
impl<S> Unpin for Sha2Digest<S> where
<S as ArrayLength<u8>>::ArrayType: Unpin,
<S as ArrayLength<u8>>::ArrayType: Unpin,
impl<S> UnwindSafe for Sha2Digest<S> where
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,