Struct sc_network::multiaddr::multihash::IdentityDigest [−][src]
pub struct IdentityDigest<S>(_, _)
where
S: Size;
Multihash digest.
Trait Implementations
impl<S> Clone for IdentityDigest<S> where
S: Clone + Size,
[src]
impl<S> Clone for IdentityDigest<S> where
S: Clone + Size,
[src]pub fn clone(&self) -> IdentityDigest<S>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<S> Debug for IdentityDigest<S> where
S: Debug + Size,
[src]
impl<S> Debug for IdentityDigest<S> where
S: Debug + Size,
[src]impl<S> Default for IdentityDigest<S> where
S: Default + Size,
[src]
impl<S> Default for IdentityDigest<S> where
S: Default + Size,
[src]pub fn default() -> IdentityDigest<S>
[src]
impl<S> Digest<S> for IdentityDigest<S> where
S: Size,
[src]
impl<S> Digest<S> for IdentityDigest<S> where
S: Size,
[src]impl<'_> From<&'_ IdentityDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]
impl<'_> From<&'_ IdentityDigest<UInt<UInt<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>, B0>, B0>>> for Code
[src]impl<S> From<GenericArray<u8, S>> for IdentityDigest<S> where
S: Size,
[src]
impl<S> From<GenericArray<u8, S>> for IdentityDigest<S> where
S: Size,
[src]pub fn from(array: GenericArray<u8, S>) -> IdentityDigest<S>
[src]
impl<S> Hash for IdentityDigest<S> where
S: Hash + Size,
[src]
impl<S> Hash for IdentityDigest<S> where
S: Hash + Size,
[src]impl<S> PartialEq<IdentityDigest<S>> for IdentityDigest<S> where
S: PartialEq<S> + Size,
[src]
impl<S> PartialEq<IdentityDigest<S>> for IdentityDigest<S> where
S: PartialEq<S> + Size,
[src]pub fn eq(&self, other: &IdentityDigest<S>) -> bool
[src]
pub fn ne(&self, other: &IdentityDigest<S>) -> bool
[src]
impl<S> Eq for IdentityDigest<S> where
S: Eq + Size,
[src]
S: Eq + Size,
impl<S> StructuralEq for IdentityDigest<S> where
S: Size,
[src]
S: Size,
impl<S> StructuralPartialEq for IdentityDigest<S> where
S: Size,
[src]
S: Size,
Auto Trait Implementations
impl<S> RefUnwindSafe for IdentityDigest<S> where
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
<S as ArrayLength<u8>>::ArrayType: RefUnwindSafe,
impl<S> Send for IdentityDigest<S>
impl<S> Sync for IdentityDigest<S>
impl<S> Unpin for IdentityDigest<S> where
<S as ArrayLength<u8>>::ArrayType: Unpin,
<S as ArrayLength<u8>>::ArrayType: Unpin,
impl<S> UnwindSafe for IdentityDigest<S> where
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
<S as ArrayLength<u8>>::ArrayType: UnwindSafe,
Blanket Implementations
impl<T, U> AsByteSlice<T> for U where
T: ToByteSlice,
U: AsRef<[T]> + ?Sized,
[src]
impl<T, U> AsByteSlice<T> for U where
T: ToByteSlice,
U: AsRef<[T]> + ?Sized,
[src]pub fn as_byte_slice(&self) -> &[u8]
[src]
impl<T, U> AsMutByteSlice<T> for U where
T: ToMutByteSlice,
U: AsMut<[T]> + ?Sized,
[src]
impl<T, U> AsMutByteSlice<T> for U where
T: ToMutByteSlice,
U: AsMut<[T]> + ?Sized,
[src]pub fn as_mut_byte_slice(&mut self) -> &mut [u8]
[src]
impl<U> AsMutSliceOf for U where
U: AsMut<[u8]> + ?Sized,
[src]
impl<U> AsMutSliceOf for U where
U: AsMut<[u8]> + ?Sized,
[src]pub fn as_mut_slice_of<T>(&mut self) -> Result<&mut [T], Error> where
T: FromByteSlice,
[src]
T: FromByteSlice,
impl<U> AsSliceOf for U where
U: AsRef<[u8]> + ?Sized,
[src]
impl<U> AsSliceOf for U where
U: AsRef<[u8]> + ?Sized,
[src]pub fn as_slice_of<T>(&self) -> Result<&[T], Error> where
T: FromByteSlice,
[src]
T: FromByteSlice,
impl<T> CallHasher for T where
T: Hash,
[src]
impl<T> CallHasher for T where
T: Hash,
[src]impl<T> CheckedConversion for T
[src]
impl<T> CheckedConversion for T
[src]pub fn checked_from<T>(t: T) -> Option<Self> where
Self: TryFrom<T>,
[src]
Self: TryFrom<T>,
pub fn checked_into<T>(self) -> Option<T> where
Self: TryInto<T>,
[src]
Self: TryInto<T>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]
impl<T, Outer> IsWrappedBy<Outer> for T where
T: From<Outer>,
Outer: AsRef<T> + AsMut<T> + From<T>,
[src]impl<Ctx, T> MeasureWith<Ctx> for T where
T: AsRef<[u8]>,
[src]
impl<Ctx, T> MeasureWith<Ctx> for T where
T: AsRef<[u8]>,
[src]pub fn measure_with(&self, _ctx: &Ctx) -> usize
[src]
impl<T> SaturatedConversion for T
[src]
impl<T> SaturatedConversion for T
[src]pub fn saturated_from<T>(t: T) -> Self where
Self: UniqueSaturatedFrom<T>,
[src]
Self: UniqueSaturatedFrom<T>,
pub fn saturated_into<T>(self) -> T where
Self: UniqueSaturatedInto<T>,
[src]
Self: UniqueSaturatedInto<T>,
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]
impl<T> ToHex for T where
T: AsRef<[u8]>,
[src]pub fn encode_hex<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
pub fn encode_hex_upper<U>(&self) -> U where
U: FromIterator<char>,
[src]
U: FromIterator<char>,
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]
impl<S, T> UncheckedInto<T> for S where
T: UncheckedFrom<S>,
[src]pub fn unchecked_into(self) -> T
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]
impl<T, S> UniqueSaturatedInto<T> for S where
T: Bounded,
S: TryInto<T>,
[src]pub fn unique_saturated_into(self) -> T
[src]
impl<T> WithSubscriber for T
[src]
impl<T> WithSubscriber for T
[src]pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,
pub fn with_current_subscriber(self) -> WithDispatch<Self>
[src]
impl<T> ExHashT for T where
T: Hash + Eq + Debug + Clone + Send + Sync + 'static,
[src]
T: Hash + Eq + Debug + Clone + Send + Sync + 'static,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeDebug for T where
T: Debug,
[src]
T: Debug,
impl<T> MaybeHash for T where
T: Hash,
[src]
T: Hash,
impl<T> MaybeHash for T where
T: Hash,
[src]
T: Hash,
impl<T> MaybeRefUnwindSafe for T where
T: RefUnwindSafe,
[src]
T: RefUnwindSafe,
impl<T> Member for T where
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,
[src]
T: 'static + Send + Sync + Debug + Eq + PartialEq<T> + Clone,