pub struct Hash<T: Multihash> { /* private fields */ }Expand description
Multihash tagged hash. Tags a harvested digest with a multihash implementation.
Implementations§
Trait Implementations§
impl<T: Eq + Multihash> Eq for Hash<T>
impl<T: Multihash> StructuralPartialEq for Hash<T>
Auto Trait Implementations§
impl<T> Freeze for Hash<T>where
    T: Freeze,
impl<T> RefUnwindSafe for Hash<T>where
    T: RefUnwindSafe,
impl<T> Send for Hash<T>where
    T: Send,
impl<T> Sync for Hash<T>where
    T: Sync,
impl<T> Unpin for Hash<T>where
    T: Unpin,
impl<T> UnwindSafe for Hash<T>where
    T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more