Struct near_primitives_core::hash::CryptoHash[][src]

pub struct CryptoHash(pub Digest);

Trait Implementations

impl AsMut<[u8]> for CryptoHash[src]

impl<__AsRefT: ?Sized> AsRef<__AsRefT> for CryptoHash where
    Digest: AsRef<__AsRefT>, 
[src]

impl BaseDecode for CryptoHash[src]

impl BorshDeserialize for CryptoHash[src]

impl BorshSerialize for CryptoHash[src]

impl Clone for CryptoHash[src]

impl Copy for CryptoHash[src]

impl Debug for CryptoHash[src]

impl Default for CryptoHash[src]

impl<'de> Deserialize<'de> for CryptoHash[src]

impl Display for CryptoHash[src]

impl Eq for CryptoHash[src]

impl Hash for CryptoHash[src]

impl Ord for CryptoHash[src]

impl PartialEq<CryptoHash> for CryptoHash[src]

impl PartialOrd<CryptoHash> for CryptoHash[src]

impl Serialize for CryptoHash[src]

impl TryFrom<&'_ [u8]> for CryptoHash[src]

type Error = Box<dyn Error>

The type returned in the event of a conversion error.

impl TryFrom<&'_ str> for CryptoHash[src]

type Error = Box<dyn Error>

The type returned in the event of a conversion error.

impl TryFrom<String> for CryptoHash[src]

type Error = Box<dyn Error>

The type returned in the event of a conversion error.

impl TryFrom<Vec<u8, Global>> for CryptoHash[src]

type Error = Box<dyn Error>

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BaseEncode for T where
    &'a T: for<'a> Into<Vec<u8, Global>>, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.