Struct sc_network_types::multihash::Multihash
source · pub struct Multihash { /* private fields */ }
Implementations§
Trait Implementations§
source§impl Debug for Multihash
impl Debug for Multihash
Remove extra layer of nestedness by deferring to the wrapped value’s Debug
.
source§impl From<Multihash<64>> for Multihash
impl From<Multihash<64>> for Multihash
source§fn from(multihash: LiteP2pMultihash) -> Self
fn from(multihash: LiteP2pMultihash) -> Self
Converts to this type from the input type.
source§impl Ord for Multihash
impl Ord for Multihash
source§impl PartialEq for Multihash
impl PartialEq for Multihash
source§impl PartialOrd for Multihash
impl PartialOrd for Multihash
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Multihash
impl Eq for Multihash
impl StructuralPartialEq for Multihash
Auto Trait Implementations§
impl Freeze for Multihash
impl RefUnwindSafe for Multihash
impl Send for Multihash
impl Sync for Multihash
impl Unpin for Multihash
impl UnwindSafe for Multihash
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.