Struct multihash::UnknownDigest [−][src]
pub struct UnknownDigest<S: Size>(_);
Multihash digest.
Trait Implementations
impl<S: Clone + Size> Clone for UnknownDigest<S>
[src]
impl<S: Clone + Size> Clone for UnknownDigest<S>
[src]fn clone(&self) -> UnknownDigest<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S: Debug + Size> Debug for UnknownDigest<S>
[src]
impl<S: Debug + Size> Debug for UnknownDigest<S>
[src]impl<S: Default + Size> Default for UnknownDigest<S>
[src]
impl<S: Default + Size> Default for UnknownDigest<S>
[src]fn default() -> UnknownDigest<S>
[src]
impl<S: Size> Digest<S> for UnknownDigest<S>
[src]
impl<S: Size> Digest<S> for UnknownDigest<S>
[src]impl<S: Size> From<GenericArray<u8, S>> for UnknownDigest<S>
[src]
impl<S: Size> From<GenericArray<u8, S>> for UnknownDigest<S>
[src]fn from(array: GenericArray<u8, S>) -> Self
[src]
impl<S: Size> From<UnknownDigest<S>> for GenericArray<u8, S>
[src]
impl<S: Size> From<UnknownDigest<S>> for GenericArray<u8, S>
[src]fn from(digest: UnknownDigest<S>) -> Self
[src]
impl<S: Hash + Size> Hash for UnknownDigest<S>
[src]
impl<S: Hash + Size> Hash for UnknownDigest<S>
[src]impl<S: PartialEq + Size> PartialEq<UnknownDigest<S>> for UnknownDigest<S>
[src]
impl<S: PartialEq + Size> PartialEq<UnknownDigest<S>> for UnknownDigest<S>
[src]fn eq(&self, other: &UnknownDigest<S>) -> bool
[src]
fn ne(&self, other: &UnknownDigest<S>) -> bool
[src]
impl<S: Size> TryFrom<&'_ [u8]> for UnknownDigest<S>
[src]
impl<S: Size> TryFrom<&'_ [u8]> for UnknownDigest<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 UnknownDigest<S> where
S::ArrayType: Copy,
[src]
S::ArrayType: Copy,
impl<S: Eq + Size> Eq for UnknownDigest<S>
[src]
impl<S: Size> StructuralEq for UnknownDigest<S>
[src]
impl<S: Size> StructuralPartialEq for UnknownDigest<S>
[src]
Auto Trait Implementations
impl<S> RefUnwindSafe for UnknownDigest<S> where
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<S> Send for UnknownDigest<S>
impl<S> Sync for UnknownDigest<S>
impl<S> Unpin for UnknownDigest<S> where
<S as ArrayLength<u8>>::ArrayType: Unpin,
<S as ArrayLength<u8>>::ArrayType: Unpin,
impl<S> UnwindSafe for UnknownDigest<S> where
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,