pub struct DagCborMultihash(/* private fields */);Expand description
SHA-256 multihash for a DAG-CBOR block.
The wrapper keeps the upstream multihash representation out of the public API while preserving the canonical wire bytes.
Implementations§
Trait Implementations§
Source§impl Clone for DagCborMultihash
impl Clone for DagCborMultihash
impl Copy for DagCborMultihash
Source§impl Debug for DagCborMultihash
impl Debug for DagCborMultihash
impl Eq for DagCborMultihash
Source§impl PartialEq for DagCborMultihash
impl PartialEq for DagCborMultihash
impl StructuralPartialEq for DagCborMultihash
Auto Trait Implementations§
impl Freeze for DagCborMultihash
impl RefUnwindSafe for DagCborMultihash
impl Send for DagCborMultihash
impl Sync for DagCborMultihash
impl Unpin for DagCborMultihash
impl UnsafeUnpin for DagCborMultihash
impl UnwindSafe for DagCborMultihash
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