[−][src]Struct casper_execution_engine::shared::newtypes::Blake2bHash   
Represents a 32-byte BLAKE2b hash digest
Implementations
impl Blake2bHash[src]
pub const LENGTH: usize[src]
pub fn new(data: &[u8]) -> Self[src]
Creates a 32-byte BLAKE2b hash digest from a given a piece of data
pub fn value(&self) -> [u8; 32][src]
Returns the underlying BLKAE2b hash bytes
pub fn to_vec(&self) -> Vec<u8>[src]
Converts the underlying BLAKE2b hash digest array to a Vec
Trait Implementations
impl AsRef<[u8]> for Blake2bHash[src]
impl Clone for Blake2bHash[src]
pub fn clone(&self) -> Blake2bHash[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for Blake2bHash[src]
impl Debug for Blake2bHash[src]
impl Default for Blake2bHash[src]
pub fn default() -> Blake2bHash[src]
impl Display for Blake2bHash[src]
impl Eq for Blake2bHash[src]
impl From<[u8; 32]> for Blake2bHash[src]
impl FromBytes for Blake2bHash[src]
pub fn from_bytes(bytes: &[u8]) -> Result<(Self, &[u8]), Error>[src]
pub fn from_vec(
    bytes: Vec<u8, Global>
) -> Result<(Self, Vec<u8, Global>), Error>[src]
bytes: Vec<u8, Global>
) -> Result<(Self, Vec<u8, Global>), Error>
impl Hash for Blake2bHash[src]
pub fn hash<__H: Hasher>(&self, state: &mut __H)[src]
pub fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher, 1.3.0[src]
H: Hasher,
impl Into<[u8; 32]> for Blake2bHash[src]
impl LowerHex for Blake2bHash[src]
impl Ord for Blake2bHash[src]
pub fn cmp(&self, other: &Blake2bHash) -> Ordering[src]
#[must_use]pub fn max(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn min(self, other: Self) -> Self1.21.0[src]
#[must_use]pub fn clamp(self, min: Self, max: Self) -> Self1.50.0[src]
impl PartialEq<Blake2bHash> for Blake2bHash[src]
pub fn eq(&self, other: &Blake2bHash) -> bool[src]
pub fn ne(&self, other: &Blake2bHash) -> bool[src]
impl PartialOrd<Blake2bHash> for Blake2bHash[src]
pub fn partial_cmp(&self, other: &Blake2bHash) -> Option<Ordering>[src]
pub fn lt(&self, other: &Blake2bHash) -> bool[src]
pub fn le(&self, other: &Blake2bHash) -> bool[src]
pub fn gt(&self, other: &Blake2bHash) -> bool[src]
pub fn ge(&self, other: &Blake2bHash) -> bool[src]
impl Serialize for Blake2bHash[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
    __S: Serializer, [src]
__S: Serializer,
impl<K, V> Store<Blake2bHash, Trie<K, V>> for InMemoryTrieStore[src]
type Error = Error
type Handle = Option<String>
pub fn handle(&self) -> Self::Handle[src]
pub fn get<T>(&self, txn: &T, key: &K) -> Result<Option<V>, Self::Error> where
    T: Readable<Handle = Self::Handle>,
    K: ToBytes,
    V: FromBytes,
    Self::Error: From<T::Error>, [src]
T: Readable<Handle = Self::Handle>,
K: ToBytes,
V: FromBytes,
Self::Error: From<T::Error>,
pub fn put<T>(&self, txn: &mut T, key: &K, value: &V) -> Result<(), Self::Error> where
    T: Writable<Handle = Self::Handle>,
    K: ToBytes,
    V: ToBytes,
    Self::Error: From<T::Error>, [src]
T: Writable<Handle = Self::Handle>,
K: ToBytes,
V: ToBytes,
Self::Error: From<T::Error>,
impl<K, V> Store<Blake2bHash, Trie<K, V>> for LmdbTrieStore[src]
type Error = Error
type Handle = Database
pub fn handle(&self) -> Self::Handle[src]
pub fn get<T>(&self, txn: &T, key: &K) -> Result<Option<V>, Self::Error> where
    T: Readable<Handle = Self::Handle>,
    K: ToBytes,
    V: FromBytes,
    Self::Error: From<T::Error>, [src]
T: Readable<Handle = Self::Handle>,
K: ToBytes,
V: FromBytes,
Self::Error: From<T::Error>,
pub fn put<T>(&self, txn: &mut T, key: &K, value: &V) -> Result<(), Self::Error> where
    T: Writable<Handle = Self::Handle>,
    K: ToBytes,
    V: ToBytes,
    Self::Error: From<T::Error>, [src]
T: Writable<Handle = Self::Handle>,
K: ToBytes,
V: ToBytes,
Self::Error: From<T::Error>,
impl StructuralEq for Blake2bHash[src]
impl StructuralPartialEq for Blake2bHash[src]
impl ToBytes for Blake2bHash[src]
pub fn to_bytes(&self) -> Result<Vec<u8>, Error>[src]
pub fn serialized_length(&self) -> usize[src]
pub fn into_bytes(self) -> Result<Vec<u8, Global>, Error>[src]
impl<'a> TryFrom<&'a [u8]> for Blake2bHash[src]
type Error = TryFromSliceError
The type returned in the event of a conversion error.
pub fn try_from(slice: &[u8]) -> Result<Blake2bHash, Self::Error>[src]
impl UpperHex for Blake2bHash[src]
Auto Trait Implementations
impl RefUnwindSafe for Blake2bHash[src]
impl Send for Blake2bHash[src]
impl Sync for Blake2bHash[src]
impl Unpin for Blake2bHash[src]
impl UnwindSafe for Blake2bHash[src]
Blanket Implementations
impl<T> Any for T where
    T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
    T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
    T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DynClone for T where
    T: Clone, [src]
T: Clone,
pub fn __clone_box(&self, Private) -> *mut ()[src]
impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized, [src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool[src]
impl<T> From<T> 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, U> Into<U> for T where
    U: From<T>, [src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToHex for T where
    T: AsRef<[u8]>, [src]
T: AsRef<[u8]>,
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<T> ToOwned for T where
    T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T> ToString for T where
    T: Display + ?Sized, [src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
    U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
V: MultiLane<T>,